Viewing 15 posts - 9,976 through 9,990 (of 13,460 total)
Andrew I'm second guessing the purpose of the function....
is it just getting the # rows for a given table? is it being called 1000 times, one for each table?
if that...
Lowell
February 12, 2010 at 11:15 am
nevermind.
my error was this:
set @options = 0
the allowed values for @options is 2 in my case.
Lowell
February 12, 2010 at 8:56 am
my pleasure and thank you very much for the complement!
Lowell
February 11, 2010 at 2:05 pm
your question was missing a lot of things that we'd need to join your two tables together, ket alone insert into one of them.
give us some more details: the CREATE...
Lowell
February 11, 2010 at 9:57 am
MJ I'm not sure on the whole sp_oa option, but if you create linked servers to each of your networked SQL servers, you can query them with an OPENQUERY command;...
Lowell
February 11, 2010 at 8:36 am
well, you've got a logical error first:
dates should not be varchars...use datetime datatypes.
CREATE TABLE Table1
(ID int,
Enter datetime)
second, if you want a specific format, validating it to be a...
Lowell
February 11, 2010 at 7:50 am
are there any triggers on the tables? it could be that you enter data into an application like your new customer account, and when it updates, the trigger fails and...
Lowell
February 10, 2010 at 7:35 pm
OK here's my prototype for scripting out the traces;
I created a procedure where you have to pass the trace id, and it seems to script everything out .
note this assumes...
Lowell
February 10, 2010 at 10:58 am
Craig thank you! that was the piece could not find;
i was locked into looking for a sys view that had the joining information...with what you posted I could get the...
Lowell
February 10, 2010 at 8:12 am
for me, reverse engineering is to be able to script out any and all traces that exist on the server;
the whole script like this:
--create the trace
exec sp_trace_create...
Lowell
February 10, 2010 at 7:00 am
CirquedeSQLeil (2/8/2010)
There will still be some who do not do it (Urgent...), but overall I think more people would use it.
those "Urgent" posts are like a train wreck or nasty...
Lowell
February 8, 2010 at 10:22 am
you guys have show some great examples of using a future backup to fix todays data, but I've got a question along a similar vein:
somehow I've forgotten to create any...
Lowell
February 8, 2010 at 10:15 am
isn't the REPLACE function overloaded, so there are actually multiple "replace" functions that are used based on the parameters passed?
I'm sure the same thing was discussed on the COALESCE...
Lowell
February 8, 2010 at 10:10 am
you replied while i was editing my original post;
here's one way; i'm testing a Tally solution now:
here's a simple way using a WHILE Loop:
--===== Replace all [' and ']' pairs...
Lowell
February 8, 2010 at 8:29 am
Can you explain a little more?
if i had THIS as a comment:
declare @text varchar(4000)
SET @text = Without a doubt SQLCentral is home to finest SQL folk[comment:#grovel].
Sometimes things may get heated[comment:#super...
Lowell
February 8, 2010 at 8:23 am
Viewing 15 posts - 9,976 through 9,990 (of 13,460 total)