Viewing 15 posts - 18,871 through 18,885 (of 18,925 total)
You'll have to use the profiler. When starting a trace you can add filters (in trace properties / filters) such as user name, appname, events, database, objects...
Just ask if...
November 2, 2004 at 6:41 am
The only thing I can think off is that the statistic were updated and that the execution plan changed after the reindex because a better index was found.
I ran into...
October 29, 2004 at 6:41 am
What you are looking for is :
Application.RefreshDatabaseWindow
October 21, 2004 at 6:49 am
Couldn't you simply do this? :
select Id1, Id2 from table1
Union
select Id1, Id2 from table2
October 21, 2004 at 6:37 am
May I ask why you cannot use any casting?... because if you can't do it in sql you're gonna have to do it on the client side... and I can't...
October 21, 2004 at 6:32 am
If you are wondering about scan vs seek :
seek will always be the faster than a scan if the index is selective enough (meaning that you have many different...
October 21, 2004 at 6:28 am
Just to give another possible situation :
Declare @TableName as varchar(256)
set @TableName = 'ObjSQL'
Select 'UPDATE ' + @TableName + ' SET ' + name + ' = NULL WHERE '...
October 20, 2004 at 7:19 am
Actually there is something that can help you in your task. Microsoft released its sql best pratices analyser found here :
it won't do everything you asked...
October 20, 2004 at 6:59 am
Wouldn't this be easier to just do select * from yourtable and table on te client side write the code to loop in the recordset and load the data in...
October 19, 2004 at 6:53 am
This solution is one step better. But it doesn't take in consideration that a trigger / constraint check or foreign key may be needing this column
SELECT ...
October 12, 2004 at 7:14 am
No there's no point involved in this forum... except maybe the number of postings we do and how well we performe in the Question of the day "contest".
October 8, 2004 at 6:34 am
if you are worried about performance you can use this :
exec sp_MsForEachTable 'Select ''?'' as TableName, max(rowcnt) as Total from dbo.sysindexes where id = object_id(''?'') and indid < 2'
This...
October 8, 2004 at 6:31 am
this is not the best way to do it but that would work :
CREATE FUNCTION [dbo].[fnGetEmpLanguages] (@EmpNo as int)
RETURNS varchar(4000) AS --can be more than that...
October 6, 2004 at 7:04 am
I may be completely off but I've had problems running update/delete statement on linked server with ADO when the table had no primary key (or unique constraint). Other than...
September 30, 2004 at 7:02 am
Viewing 15 posts - 18,871 through 18,885 (of 18,925 total)