Viewing 15 posts - 2,386 through 2,400 (of 2,486 total)
quote:
Please clarify re don't see all the products. When I run the sql I get one line per row in Table -...
February 2, 2003 at 2:40 pm
Are you sure this the complete trigger statement?
What sets the @cName and @cType variables?
Thanks
Phill Carter
January 30, 2003 at 8:44 pm
I'd go with Disabling the steps and setting the Precedence details. At least that way you can be sure that things will run in the right order.
I've had some weird...
January 30, 2003 at 2:14 pm
You could probably try an ActiveXScript in the transformation to build the output row prior to writing it to the file.
Something like,
Function Main()
Const sQt = """"...
January 29, 2003 at 3:45 pm
Are you sure you have the name of the connection right?
The line
Set oConn = DTSGlobalVariables.Parent.Connections("Text File (Source)")
is looking for a connection called "Text File (Source)"....
January 29, 2003 at 3:05 pm
I don't think you'll find anything that automated. Restarting the job would mean it has to finish first, either successfully or not.
If package logging has been turned on, you could...
January 28, 2003 at 3:12 pm
There's nothing provided to extract any meta data.
You could put together a little ActiveXScript to extract the info from the Transformations collection of the DataPump task.
Thanks
Phill Carter
January 28, 2003 at 3:08 pm
You can also execute the package using the sp_OA stored procedures as shown in the following article.
http://www.databasejournal.com/features/mssql/article.php/1459181
Thanks
Phill Carter
January 28, 2003 at 2:52 pm
Instead of the Cast statement, use DateSerial. I'd also use the full 4 digit year.
So your statement would end up like,
DTSDestination("SOL_BIRTH_DT") = DateSerial( Left(DTSsource("SOL_BIRTH_DT"),4), mid(DTSsource("SOL_BIRTH_DT"),5,2), right (DTSsource("SOL_BIRTH_DT"),2))
Thanks
Phill Carter
January 22, 2003 at 2:42 pm
What are you trying to achieve here? The SET statements in your example wouldn't produce anything because they are after the CREATE command.
Setting STATISTICS TIME and NOCOUNT in the query...
January 21, 2003 at 9:10 pm
You would need to handle the restart point within the child packages.
Basically, if the package fails you log what step it failed at. On restarting you check if there was...
January 21, 2003 at 5:16 pm
You've already got the hard part with the logical model. The Physical model is the database representation of the logical model. It defines how the entities and attributes map into...
January 20, 2003 at 10:13 pm
Probably not really addressing you real problem, but based on your code, why not use a computed column for the staff_random_num column?
Then you don't need proc or trigger.
Thanks
Phill Carter
January 20, 2003 at 8:12 pm
You could also use transactions within your stored procedure. That way any changes it makes will be rolled back on failure.
Thanks
Phill Carter
January 20, 2003 at 2:57 pm
Viewing 15 posts - 2,386 through 2,400 (of 2,486 total)