Viewing 15 posts - 50,071 through 50,085 (of 59,091 total)
Chris.Strolia-Davis (6/13/2008)
begin
select top 1 'do something', @id=id from @table
delete from @table where id=@id
...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2008 at 10:22 am
dugsmith (6/13/2008)
thereby not having to wait for the cursor to be deallocated to release its locks.
"Firehose" cursors do not keep the same types of locks... in fact, they're pretty much...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2008 at 10:06 am
abhay.kulkarni (6/13/2008)
Creating a table variable is in the memory, not in the tempdb and hence much more efficient.
Absolutely NOT true... please see Q4/A4 in the following URL. In fact,...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2008 at 9:50 am
Which service pack are you running?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 13, 2008 at 7:40 am
Michael Earl (6/12/2008)
OpenQuery will allow you to do this.
Do you have example code of how to use OpenQuery to export to a CSV File?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 9:13 pm
Why not use "Get External Data"? Much easier... look it up in Excel Help.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 9:09 pm
8.0
5
1 SQLCHAR 0 8 "|" ...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 9:06 pm
Heh... I'd have to say just about never... with the exception of RegEx, there's not much that can't be done using some form of set based programming in SQL Server...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 8:17 pm
Try calling the following function from within the trigger. You would pass the name of the table to @TableName and the value of COLUMNS_UPDATED ( ) to @BinaryColNums. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 8:11 pm
Tech_Newbie (6/12/2008)
I have the following situation:
I want to populate two related tables
Person (PersonID, PersonName, PersonLName)
PersonAddress(PersonAddressID, PersonID, PersonAddr, PersonCity, PersonState, PersonZip, County)
from a table which contains all the data...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 7:34 pm
Like I said on the other article discussion, this isn't the right place and you haven't told us what version of SQL Server you are using... take a look at...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 7:32 pm
This is probably the wrong place to ask for such help... and we'd really need to know which version of SQL Server you're using. It would probably be better...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 7:29 pm
jananik (6/5/2008)
While trying to retrieve records with a max query it takes around 4 minutes (appr. 20 lakh records)
That's 2,000,000 rows that you're returning to the screen... don't measure how...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 7:21 pm
I'd like to know why people use Date Serials in such a fashion to begin with. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 7:17 pm
shivsen (6/11/2008)
Just want to know How is the Job market now for SQL Server 2000 DBA in US. I'm hearing from friends that the Job market is slowing down.Thanks,
shivsen
How's the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 12, 2008 at 6:55 pm
Viewing 15 posts - 50,071 through 50,085 (of 59,091 total)