Quantcast
Channel: SQL Server Database Engine forum
Browsing all 12554 articles
Browse latest View live

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 Article


SqlServer 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 Article


Send 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 Article

Constraint 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 Article

Image may be NSFW.
Clik here to view.

Table 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 Article


Image may be NSFW.
Clik here to view.

Linq 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 Article

SQL 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 Article

Update 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 Article


VS 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 Article


Error 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 Article

Install 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 Article

SQL 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 Article

How 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 Article


Investigate 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 Article

Optimizer 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 Article


how 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 Article

shrink 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 Article


Multiple 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 Article

from 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 Article

bcp 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
Browsing all 12554 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>