Viewing 15 posts - 21,856 through 21,870 (of 22,202 total)
I don't think you can. At least, I don't seem to be able to in the tests I've run so far. However, can you, instead, return a larger set of...
May 3, 2007 at 12:55 pm
Sorry, we don't check to see if records exist, we simply insert them as part of changes otherwise your approach would work very well. What I showed is the select...
May 3, 2007 at 10:33 am
I agree on the recursion. I've implemented one solution using it and I was VERY sorry afterwards.
We have a need to only every insert data, no updates. So, we have a...
May 3, 2007 at 10:02 am
If I understand the question... No. You can't pass parameters to a view.
May 3, 2007 at 8:29 am
Thanks for the correction. 100% accurate. Apologies for the bit of bad info.
May 3, 2007 at 8:20 am
Download the AdventureWorks database from Microsoft. It's a pretty good place for running tests & learning.
May 3, 2007 at 8:16 am
There is a lot of time in Itzik's book on graphing & trees & pivots that, in my opinion, won't be used by most people (myself included). However the APPLY &...
May 3, 2007 at 8:15 am
I want to jump on the band wagon and recommend Itzik Ben-Gan's "Inside TSQL Querying". Add to it his "Inside TSQL Programming". The first book is all about TSQL queries. The...
May 3, 2007 at 8:11 am
Generally, it's probably safer to create the index & temp table together and then add data to it. Clearly it's affecting the locking, but it will also cause recompiles.
May 2, 2007 at 10:11 am
SQL Server takes exclusive locks on a row, page or data when it wants to perform a write operation. You've got a process within your stored procedure that is escalating...
May 2, 2007 at 7:03 am
It looks like you may be hitting a bug. I found this kb article that seems to describe your situation:
http://support.microsoft.com/kb/935356
"In SQL Server 2005, assertion error 3624 may occur. The...
May 2, 2007 at 6:18 am
Good catch. Once I spotted that USING word I couldn't see much else.
May 2, 2007 at 5:12 am
Forgive us our typos as we forgive those who typo against us... unless you just ran a restore on the production server...
May 1, 2007 at 1:38 pm
Are you running this against a 2000 server or against a 2005 server in 8.0 compatibility mode? Either of those will be the problem.
May 1, 2007 at 8:57 am
Viewing 15 posts - 21,856 through 21,870 (of 22,202 total)