Viewing 15 posts - 6,556 through 6,570 (of 13,460 total)
the Connection Object in ADODB that you create has an Errors collection, which includes the print statements, "rows affected" as well as anytime you called RAISERROR i believe.
print...
Lowell
October 14, 2011 at 7:38 am
DO NOT USE THIS ON PRODUCTION.
it builds a TABLE SCAN for every table which happens to contain a varchar/char/nvarchar/nchar type column.
a millionBillionRow table could cause this to gobble up some...
Lowell
October 14, 2011 at 7:23 am
i'm an ID-TEN-T;
i looked at jsu tthe execution plan for the setup table variable...of course they are the same...once i scrolled down, i saw differences.
Lowell
October 14, 2011 at 6:53 am
maybe it's just me, but both my solution and Chris's seem to produce the exact same execution plan?, but Chris's is 48% relative to the batch where mine was...
Lowell
October 14, 2011 at 6:42 am
Phil the only way i could see it was to use a case statement that evaluates each column;
this works, but i don't know how it will perform on large data...
Lowell
October 14, 2011 at 6:27 am
you'll want to export your logins from the old box to the new one. the procedure sp_help_revlogin from Microsoft will do that for you .
run it on the old server,...
Lowell
October 14, 2011 at 5:10 am
Mo' (10/14/2011)
I did not realize that ORIGINAL_LOGIN() was the user calling for authentication...
I understand all the code.. with the exception for the last 3 lines..
ENABLE TRIGGER...
Lowell
October 14, 2011 at 4:38 am
this one is tougher for me to test...at home i don't have another machine to connect to to test.
i think you might have issues if you don't grant permissions to...
Lowell
October 13, 2011 at 5:34 pm
phil 80558 (10/13/2011)
Lowell
October 13, 2011 at 11:49 am
are you sure you mean SQL injection?
SQL injection happens whenan app or a web page accepts input from the page without parameters or data cleansing...building a string like "SELECT...
Lowell
October 13, 2011 at 11:46 am
the key is to full outer join the tables,a dn to then handle the nulls.
how does this work for you?
SELECT o. Id,
CASE
...
Lowell
October 13, 2011 at 11:19 am
in SQL SErver Management Studio you are using...do help...About..
coul,d you be using 2005 SSMS when connecting to that 2008 instance?
i've seen issues where differences between GUI(and the code...
Lowell
October 13, 2011 at 11:03 am
you need to simply join the two tables on the id , i think;
CREATE TABLE #TableA (
id int,
name varchar(30),
version varchar(30),
disposition varchar(30) )
CREATE TABLE #TableB (
id int,
name varchar(30),
version varchar(30),
disposition varchar(30) )
INSERT...
Lowell
October 13, 2011 at 10:43 am
Ninja's_RGR'us (10/13/2011)
@pveilleuxNice rant.
@jc-2 (not short for Jesus-Christ).
You were doing some headway lately but now you're getting back to your old habits. Plz keep up the <previous> good work.
agreed.
@pveilleux has...
Lowell
October 13, 2011 at 8:02 am
you guys completely forgot that you can use a check constraint that uses a user defined function...and that UDF can check mutiple columns, rows, values, other tables, whatever.
i've done several...
Lowell
October 13, 2011 at 7:12 am
Viewing 15 posts - 6,556 through 6,570 (of 13,460 total)