Quantcast
Channel: Fórum SQL Server Database Engine
Browsing all 15680 articles
Browse latest View live

Handle with parameter

Hi, I have unicode inside @area below. cmd = new SqlCommand("SELECT a.id,a.name FROM dbo.dist a,dbo.area b where area_name=b.name and case when isnull(local_name,'')='' then b.name else local_name...

View Article


SQL query timeout error

I am using vb6 application with Sql Server 2012. Very often I get timeout error.I have 700+ tables in the database. Some tables i am using in query have 20K + rows (some have very few records also).I...

View Article


Find unused databases

Hi Experts,I know this is a question asked before. We need to figure out the databases in our servers that arenot being used. We could check from audit logs, profiler trace and some DMV's. But is there...

View Article

SQL Server 2008 and Java application

Hi,notice lately a problem with SQL Server 2008 that application for no reason hang and stop operating and this problem unsolvable till restart the application and all support team pointing to SQL...

View Article

Data copy across Linked Server much slower than expected

I'm trying to retrieve data from a SQL Server at a remote site running SQL2008. There is a query involved, but to isolate the issue I've materialised the data, so all subsequent tests are now doing a...

View Article


Image may be NSFW.
Clik here to view.

WAITSTATS cause for concern or no?

Hi All,Am diagnosing a 'slow' application and looking at the database server first. I ran Paul Randall's waitstats script and here is the output.Couple questions as i'm going through this:1) Even...

View Article

Fastest way to read a 600MB table (in memory)

 I cannot get more than 15-19mb/s is there any limitation that I need to know about?The query is a simple select not doing sorting and the database is read-only : "select * from tablename"Tried local...

View Article

Kill Kpid

Hi AllIt's possible to kill a kpid from TSQL ??

View Article


Replication information

Hi ,we configurations the  Replication, after we can run the update statistics on the publication database, this update statistics reflect into subscriber database or not ? 

View Article


Image may be NSFW.
Clik here to view.

Reg:Uploading Excel File is not working

HI Friends,After Uploading a file i will show data in Gridview.Then i will Import in a Sql Table.Another machine i have published Its working fine.But After i have Publish in New Server its not...

View Article

SQL Remote connection without specify PORT Number between different locations

Hello,We need to connect SQL Server from one machine to another machine.We have installed SQL server with instance name as SQLExpress.We can able to connect remote connection with client machines in...

View Article

Image may be NSFW.
Clik here to view.

Client statistics showing zero's

When I click on the show client statistics it shows all zeros. See screenshot.Alan

View Article

Problem with unicode

Hi, when doing the insert using these                    cmd = new SqlCommand("insert into dbo.ite_tab (...,area,...) values (...,@area,...)", conn);                    ......

View Article


Active directory

Hi Everyone,How the data in active directory gets stored?Are the data getting stored in SQL Server?I have googled is, but didnt found any articels. Thanks,Karthi K

View Article

Unable to open physical file - Operating system error 5: 5(error not found)...

I am trying to attach a database to SQL 2005. This database has not previously been attached. I have only just installed SQL. I get the following message: Unable to open physical file...

View Article


CDC Oracle source SQL Server destination

Hi can anyone recommend CDC software for moving data from oracle to sql server.We have looked at attunity, before we can make a decision we need to look at competitors.

View Article

SQL Server 2008 R2, Error: 701, Severity: 17, State: 123, There is...

In the error log, I get: 2013-06-02 00:00:37.78 spid22s     This instance of SQL Server has been using a process ID of 1268 since 5/15/2013 4:12:15 AM (local) 5/15/2013 8:12:15 AM (UTC). This is an...

View Article


SET options used in SQL Server 2008

We are using the following SET options in Oracle. I need to convert the same Oracle script to SQL server script which have the following SET options.SET ECHO OFF     /*to suppress SQL queries in the...

View Article

An error occurred while executing batch. Error message is: Exception of type...

I am getting this error repeatedly on SQL Server 2008 on Windows machine when i run a simple query which involves close to ~ 10 million records. select sum(a.test) from (select COUNT(*) as test from...

View Article

Running SQL 2008 R2 but server showing up as sql 2005 (9.0.4035)

I have installed and run 2008 R2 for some time--no problems. use as backend for VS2008 coderecently I tried to restore one of my developer databases with a backup from a production server running...

View Article
Browsing all 15680 articles
Browse latest View live


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