Viewing 15 posts - 676 through 690 (of 993 total)
Whoops! ![]()
Thanks for pointing that out
December 4, 2005 at 4:31 am
The entire proc is recompiled. Recompilation occurs for a variety of reasons
a) You make a change
b) SQL Server determines that it is worth recompiling due to changes in databased indices,...
December 3, 2005 at 7:59 pm
Could you please post your C# code snippet here? Perhaps you have an error in the SQL string in your C# code that's not immediately apparent.
December 3, 2005 at 7:56 pm
Or use a full outer join ![]()
select case when f.dbkey is null then 'In @foo' else 'In @foo2' end as record_state, f.dbkey as...
December 2, 2005 at 8:01 am
Whoops - seems you and I are often on here replying to questions at the same time Govinn - seems you corrected your misread while I was typing!
December 2, 2005 at 7:55 am
Govinn, I think you might have misread the question. The variable stores the table name ![]()
December 2, 2005 at 7:54 am
Key thing is not to stress about it! ![]()
Talk naturally about whatever topics they bring up. You can do whatever you like - if...
December 2, 2005 at 7:52 am
Please don't cross post - continue thread here...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=241460
Cheers.
December 2, 2005 at 7:49 am
update vv1 set
For all the times I've done things like this I had never thought of using the table alias in the update statement... Thanks for the syntax
December 1, 2005 at 3:51 pm
Gee, been a while since I've had a FAT32 system
Good point!
December 1, 2005 at 3:48 pm
Not sure about 1, except maybe recompiling may help?
I can answer #3 easily -
Run dbcc freeproccache
For benchmarking always run
dbcc dropcleanbuffers
dbcc freeproccache
This will ensure that SQL is not caching data...
December 1, 2005 at 5:23 am
Thanks for the info - is often hard to explain to customers why such things can go wrong with seemingly no change at all... At least it wasn't database corruption!...
December 1, 2005 at 5:20 am
If you are doing this a lot, you should separate the data into two different columns - one storing dates with time values of 0, and one storing times with...
December 1, 2005 at 5:17 am
Part of the beauty of GUIDs is that you can generate the value knowing that it will be unique - so why not generate it in your client code and...
December 1, 2005 at 5:14 am
Viewing 15 posts - 676 through 690 (of 993 total)