Viewing 15 posts - 841 through 855 (of 1,065 total)
In the outer select you refer to the 'customer' table, but in the inner selects you refer to 'dw.dbo.customer'.
Are you sure that these are the same table?
November 12, 2004 at 1:18 am
I you use a literal, SQL Server can use the index statistics to work out reasonably accurately how many rows will be affected by the delete clause. If this is...
July 22, 2004 at 1:15 am
I always add the linked server using an alias e.g "HEADOFFICE". Your 4 part query can use HEADOFFICE.databasename.dbo.tablename.
You can then map the alias to the real server using sp_setnetname, which can...
June 30, 2004 at 1:09 am
It doesn't have to be Perfmon itself that is running to cause the problem, it can be other forms of monitoring software that hook into the performance counters.
If it is...
June 10, 2004 at 3:43 pm
The was a problem introduced in SQL2000 SP3, where the performance counters would not be available if perfmon was running at the time SQL2000 was started.
There are more details...
June 8, 2004 at 1:26 am
I raised the same issue with Microsoft some months ago, because restore time were highly variable for similarly sized log backup files.
The support people looked through the SQL Server...
May 28, 2004 at 1:22 am
You can find details about backup and restore files by joining various backup* and restore* tables in MSDB.
May 14, 2004 at 12:56 am
Does any of the input have one of your delimiter characters ";" as part of the data, possibly in the line before or after it appears to fail.
May 12, 2004 at 1:06 am
How is the COM object going to run the query?
If the COM object is going to run the query using something like ADO, then it's easy to change the ODBC query...
April 29, 2004 at 11:51 am
What you are setting is the CONNECTION timeout (how long to wait while making a connection to a SQL instance, not the QUERY timeout (how long to allow a query to...
April 28, 2004 at 6:53 am
The trigger will fire only once for each Insert statement, regardless of the number of records inserted by the statement (if will even fire once if 0 records are inserted).
The...
April 23, 2004 at 12:59 am
I have encountered something similar before, and spent some time trying to get to the bottom of the problem, using SQL Profiler, and watching the query run by the user,...
April 2, 2004 at 12:34 am
Temp tables (i.e # tables, not table variables) belong to a connection, and don't get deleted at the end of a stored proc. They remain until explicitly deleted, or the...
March 30, 2004 at 11:19 am
Just give the table variable an alias e.g.
declare @tblVar table ( id int)
insert into @tblVar select uid from tableA where some condition
select thisField from dbo.tableB inner join @tblVar x on...
March 30, 2004 at 12:09 am
Full database backups and transaction log backups work independently.
Your transaction log will continue to grow until you back it up using something like this:-
BACKUP LOG [ASWebDB] TO DISK =...
March 29, 2004 at 5:44 am
Viewing 15 posts - 841 through 855 (of 1,065 total)