how to find the Domain vise server list
hi team,i have no.of domain,under domain no.servers are there, here how we can find each domain how server are located.exp:Domain Name is A123 like that....
View ArticleSqlServer 2012 available wait data
Under Sybase, you can query the MDA table monProcessWaits (actually a pseudo table mapped to output from a stored procedure) for cumulative waits and types per spid. So I can query this table every 5...
View ArticleSend Automatic mails through SQL Server
Hello Everyone,I am Mohit. I have designed my web application in which i have to get filled forms by employees daily and save it to database. From database i can get list of employees of who have not...
View ArticleConstraint for column
Hi All,I have many columns in my table with numeric datatype(5,2). how can i add constraint for all columns for not exceeding the size 5.Thanks,Venkat.
View ArticleTable structure changing the query plan on a non-clustered index.
I've been trying to understand why SQL server decides build a very complex query plan in some cases. I've got two test Tables. - Tab1 and Tabx When the table only has a single data page the select...
View ArticleLinq Query on execution throwing Exchange Spill error
In Our Application while executing one of the LINQ Query we are getting error.Type: System.Data.SqlClient.SqlExceptionMessage: Timeout expired. The timeout period elapsed prior to completion of the...
View ArticleSQL Memory Usage
Hi AllI've been told that when dealing with 64bit SQL Servers with locked pages in memory enabled, using task manager to evaluate how much memory SQL Server is using is wrong.What is a clear and...
View ArticleUpdate PDF file in FileTable
Hi- I'm new to working with FileTables and am wondering if the following code (which saves annotations to a PDF file in the FileTable with changes that are made through the PDF control) makes sense. My...
View ArticleVS 2012 Publisher can not be verified message at install time
Using VS 2012. How do I get rid of the message PUBLISHER CAN NOT BE VERIFIED at install time. I also get Unknown Publisher message. What can I do about both messages?ecb
View ArticleError Connecting to SQLSERVER:SQL as a drive for LocalDb
Please see below. There is some kind of communication problem when I try to access "(localdb)\Projects" using the ability to connect to SQL Server as a drive, and then ultimately later (e.g. $server =...
View ArticleInstall a application on another PC Questions
Using VS 2012. When I install my VS 2012 application on another PC I get messages about ACCEPTING these two software products (1) MS SQL Server LocalDB and (2) MS Framework. Is there a way to inform...
View ArticleSQL Network Interfaces, error: 26 ,How to overcome this error?
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that...
View ArticleHow t minimize the loging in sql server
Hi friends, I am looking to minimize the loging in sql server 2012. My process is I have many base tables, once data will get procced we are moving these all data into their respective history table...
View ArticleInvestigate slow running query
Hi All,I have a stored proc which inside simply joins a view and 3 tables. The SP takes less than 1 sec in my DEV environment but it takes almost 10 secs most of the time in my SIT environment.1) The...
View ArticleOptimizer costings for hash join versus nest loop
I have been looking at a query that involves a join between two reasonably large tables. The optimizer picks a hash join rather than a nested loop, but when I force a nested loop it uses significantly...
View Articlehow to up the performance
Hello , everybody, Well I dont understand why to execute a stored procedure is very slow the execution... I have a question for anyone, why is veru slowwww? thanks for your feedback.
View Articleshrink transaction log in sql server
DBCC SHRINKDATABASE (db_name, size)1 Is this mean i am shrinking whole database or only transaction log file ??2 If i am shrinking whole db then is it good to shrink only log file ?? By using ssms...
View ArticleMultiple TempDB files disappear on restart
1. Added 2 extra tempDB files across 2 logical drives. 2. Restarted SQL Service or the server 3. The 2 extra files disappear from tempDB. However, they still on the hard drive. ??? Why did they...
View Articlefrom dt column how to get the data into 2 separate columns as intime and...
emp_ID card_ID dt inout desc275144271992011-03-2321:25:57.0000 Successful 275144271992011-03-2321:26:04.0001 Successful275144271992011-03-2321:35:00.0001 Successful 270144277962011-03-2321:53:55.0001...
View Articlebcp fails for trusted connection
Hi!This is a baffling one - we have a batch process extracting data on a remote machine from the SQL server using bcp -T and has been running without any issues until last weekend. Since last weekend,...
View Article