Viewing 15 posts - 8,581 through 8,595 (of 13,469 total)
Larry Kruse (10/13/2010)
October 13, 2010 at 12:23 pm
ok a bit of reearch reveals a few things.the .RecordsAffected will pretty much return -1 every single time.
There is no count because the reader is streaming the results in from...
October 13, 2010 at 11:56 am
i think the reader has a reader.RecordsAffected property;
so you should be able to get the # records from reader.RecordsAffected?, right? or is that for a different purpose than i think?
October 13, 2010 at 11:37 am
well everything depends on what you want to do;
there's usually a reason why you want to audit old and new data; typically you create an audit table with nearly the...
October 13, 2010 at 8:52 am
i have this saved, which uses the old sysindexes view;
i have not updated it to use sys.indexes and whatever sys view has some index details; this might help:
SELECT object_name(id) as...
October 13, 2010 at 6:27 am
Paul Farnell (10/13/2010)
Thanks for your reply however I want to see how much physical space in KB each index takes up.
Paul one of the output columns is [IndexKB] in...
October 13, 2010 at 6:18 am
you might be mixing information from a different database system...as far as i know, I SQL Server there is not a GUID associated with the old/new rows;
you have the rows...
October 13, 2010 at 5:39 am
yeah, i switched away from SQL2000 a while ago, and all my scripts are targeted for the newer platform.
take a look at this script contribution i made for SQL 2000:
October 13, 2010 at 3:43 am
a forwarded email is beyond the control of the SQL server and sp_send_mail;
the client application which forwards the mail may add lines, headers, footers, indent everything in the email and...
October 12, 2010 at 3:34 pm
also, don't you have to exclude NULLS from the underlying emails if you are using NOT IN:
INSERT INTO contacts (email, business)
SELECT email, business
FROM scrapes
WHERE (dbo.vaValidEmail(email) = 1)
AND (NOT email...
October 12, 2010 at 10:49 am
GilaMonster (10/12/2010)
SELECT * FROM master.sys.objects -- 74 rows
IF (1=1)
SELECT @@ROWCOUNT AS RowsAffected -- 0, because the IF did not affect...
October 12, 2010 at 6:35 am
not enough info to help so far I think, naresh;
does your MatchingOff table have 7 columns, or one column with all the values comma delimited?
you can use a CASE statement...
October 12, 2010 at 6:00 am
every insert/update/select/set/delete statement resets the @@rowcount to the rows affected by the executed statement, so it's a best practice to use a variable to capture the rowcount you need,:
begin
declare...
October 12, 2010 at 5:32 am
depends on what you want to do with it; the full text engine has the option to open and index the contents of word and pdf documents for example; if...
October 12, 2010 at 5:28 am
the easiest way would be to use the Import/Export from SSMS; before you can do that, you need to have the ability to connect from the SQL server to the...
October 12, 2010 at 5:24 am
Viewing 15 posts - 8,581 through 8,595 (of 13,469 total)