Viewing 15 posts - 166 through 180 (of 194 total)
Sorry about the delay: you'll obviously have to make some changes notably the 'Sampledb' has to be changed to your database name
Try it with northwind or pubs first. ...
February 7, 2003 at 1:07 am
It works, but I am sure there are better ways to address some of the issues. I will try to bring in the code for this tomorrow and send it...
February 5, 2003 at 5:54 am
I knew I did this somewhere but had to go play around again last night.
Setting The execution status to completed would still fire "on failure" steps
You can put empty activeX...
February 5, 2003 at 1:23 am
By setting DTSExecStat_Success the DTS would execute subsequent steps in the the order originally specified as if the step which you skipped ( and set DTSExecStat_Success ) has run succesfully.
Suggestion...
February 4, 2003 at 7:01 am
I believe it is;
reason being, I have created a script ( not perfected ) that takes referential integrity, and identity columns into account and creates a sample database i.e. Schematically...
February 4, 2003 at 6:45 am
I Frequent use a "Batch template" with the set rowcount statement to run updates like these. They are definately the way to go. With a bit of extra...
February 4, 2003 at 6:31 am
If you want successive steps to run why not set the step to DTSStepExec_Stat_Success ( already succesfully run )
January 31, 2003 at 7:57 am
If you want successive steps to run why not set the step to DTSStepExec_Stat_Waiting ( already succesfully run )
January 31, 2003 at 7:56 am
You would have to do something like
select
Upper( Left( @Col, 1 ) ) +
Substring( Lower( @Col ), 2, Len( @Col ) )
From @tab
Replace...
January 30, 2003 at 2:51 am
you will require quotes around @ProcessTable in the column list (i.e. 'select '''+ @ProcessTable +''', ...... )
and square brackets in the join clause ( if you use table names...
January 27, 2003 at 8:02 am
you will require quotes around @ProcessTable in the column list (i.e. 'select '''+ @ProcessTable +''', ...... )
and square brackets in the join clause ( if you use table names...
January 27, 2003 at 8:00 am
two things:
1.
in the statement jpipes sent where you got the syntax error near "group"
you need to alias the virtual table created by the union query see below.
select Siteid as...
January 27, 2003 at 7:31 am
Duplicating the statement and a if clause would be my choice if that is the oonly difference in the statement.
Also dynamic is easy as you already have the set sql...
January 21, 2003 at 8:41 am
Have you checked dbcc showcontig to check if defragmenting is neccessary, and if so considered using dbcc indexdefrag
January 21, 2003 at 6:28 am
Viewing 15 posts - 166 through 180 (of 194 total)