SQL Server 2005: 20vcpu/124GB with 4 numa nodes. ple drops and foreign pages...
I took a DBCC Memorystatus and it doesn't look right to me....Is this normal? I could be starving the system for memory.Memory Manager KB------------------------------...
View Articlewhat all ports should be opened to connect to a named instance running on...
what all ports sould be opened to connect to a named instance running on port number 7000SQL Browser enabledAble to connect with SERVERNAME, 7000 but not with SERVERNAME\INSTANCE NAMEIt is static...
View ArticleStoring Database on PEN Drive
Hi,<o:p></o:p>I am creating an accounting software. I want to store data base on pen drive , so when i plugin the pen drive it will automatically detect and store the data on pen...
View ArticleTable Partitioning
Hi All,How to check wheather my data is partition created on the table is in use or not. Or Data is storing as per created partitioned.
View ArticleTable Restriction of only one Row
Hello I want to restrict a Table that it can only contain one row. Every time I want to Insert a second row, i will get an error! Only Update is allowed after one row exists.Thistable does not yet...
View ArticleChange DateTime and get User
Hello, I have two questions: First: Whenever arecord is changed(no matteraboutwhich tool), thecolumnshould set to actual datetime.Second: Whenever arecord is changed by a User(no matteraboutwhich...
View Articlewhy a certain process is running so long
Hi Experts.How do you guys look into a issue, when some developer complaints that his process running from so long time.I am just expecting basic steps you look into.
View ArticleLogon SSPI handshake failed
Hi,We are receiving following alerts (SQL Server 2005):"Logon SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed....
View ArticleUnique Row - 2 different values ! Help Needed!
This may be the strangest thing I've ever seen.We have sql server 2012 and a data warehouse.Fact table contains more than 1 billion rows which are based on monthly partitions.Those 2 queries returns...
View ArticleIOPS for specific DB
Hi Guys,I would like to measure the IOPS for one specific DB on my MSSQL server. I could not find a profiler setup for it, and after some search I only found solution for measuring the Disk, or the...
View ArticleThe OLE DB provider "MSDASQL" for linked server "MYSQL" supplied invalid...
I had a running openquery as follow in MSSQL SERVER.SELECT * FROM OPENQUERY(MYSQL, 'CALL GASP_sales_tl_performance_summary(''2013-03-01'',''2013-05-01'')')When i Execute this open Query will get an...
View ArticleHow can we rollback alter user statement
Hi All,We have a requirement of changing schemas but it we also need it to revert to the original one.Alter user <user> with default_schema = <newSchema> does the job of changing the...
View Articlewakslhwn.ldf. Verify that the file exists and that you can access it.
Hello,I am trying to install SQL Server 2008 R2 but I am getting an error:TITLE: Microsoft SQL Server 2008 R2 Setup ------------------------------ The following error has occurred: Source file not...
View ArticleConnecting to SQL 2005 x64 using Management Studio on Windows 2008 x64 is...
I have a SQL 2005 x64 server that is running just fine. I have installed the SQL 2005 Management Studio on Windows 2008 x64 server and can connect to the SQL 2005 x64 server. But it takes almost a...
View Articlepage life expectency
I am looking at the sys.dm_os_performance_counters table and trying to figure out how a int value represents a ratio? For example "buffer cache hit ratio" = 12355. What does this mean?
View ArticleTable Partitioning with sliding window
Hi All,we planning to create partitioning on existing tables. The partitioning is on date column, there should be one partition for each year. Creating of new partitions should be automated, and also...
View ArticleSimple instructions for setting up an alias...
Hello all. After two days of unsucessfully trying to create an alias; I need assistance. This SHOULD be a simple thing to do, but I'm missing something.My environment consists of: A server running...
View ArticleXtended events and clr with data access trace
There is a sql statement which uses a table valued clr function which inside opens another context connection ( using (var connection = new SqlConnection("context connection=true")) ) and using another...
View ArticleDM views such as dm_os_performance_counters - how to read the results and...
Anyone got a link they would like to share on how to read and interpret the results of dm_os_performance_countersToday I ran into some performance issues with SQL slowing to a crawl for a few...
View Article