Click here to Skip to main content
15,895,084 members
Home / Discussions / Database
   

Database

 
GeneralRe: How can I use @param in a select*where... Pin
Member 138216011-Jul-05 16:58
Member 138216011-Jul-05 16:58 
GeneralRe: How can I use @param in a select*where... Pin
Yulianto.11-Jul-05 17:01
Yulianto.11-Jul-05 17:01 
GeneralRe: How can I use @param in a select*where... Pin
Member 138216011-Jul-05 17:15
Member 138216011-Jul-05 17:15 
GeneralRe: How can I use @param in a select*where... Pin
Yulianto.11-Jul-05 17:19
Yulianto.11-Jul-05 17:19 
GeneralRe: How can I use @param in a select*where... Pin
Edbert P11-Jul-05 17:09
Edbert P11-Jul-05 17:09 
GeneralRe: How can I use @param in a select*where... Pin
Member 138216011-Jul-05 17:16
Member 138216011-Jul-05 17:16 
AnswerRe: How can I use @param in a select*where... Pin
Rob Graham16-Jul-05 12:44
Rob Graham16-Jul-05 12:44 
GeneralSQL DTS Pin
vrkanth11-Jul-05 14:21
vrkanth11-Jul-05 14:21 
Hello all,
I am enhancing a DTS package developed by someone else. Main purpose of the DTS package is to import the data from the input excel sheets received from multiple customers.There are 7 data pump tasks to import from 7 customers' excel sheets. Each pump task is called in a loop in an ActiveX Script to be executed.

In ActiveX Script following logic is used to execute the pump task:

set stpraj = pkg.Steps("DTSStep_DTSDataPumpTask_2")
stpraj.ExecutionStatus = DTSStepExecStat_Waiting

I added a new data pump task to import the data from a new customer and I used the same logic as above:

set stpram = pkg.Steps("DTSStep_DTSDataPumpTask_8")
stpram.ExecutionStatus = DTSStepExecStat_Waiting


when I executed the package it gave execution errors. I replaced the code stpram.ExecutionStatus = DTSStepExecStat_Waiting
with
stpram.execute.


Now the package is executing properly and populating the data, but some of the things I did not understand are:

1. Why the package gave execution erroers when I used "stpram.ExecutionStatus = DTSStepExecStat_Waiting" ?


2. In the results after the execution of the package it showed the status for

"stpraj.ExecutionStatus = DTSStepExecStat_Waiting" as "COmplete" and for "stpram.execute" it showed "Running".


What is the difference between "stpraj.ExecutionStatus = DTSStepExecStat_Waiting" and "stpram.execute"? which one is preferable?.


Any information and suggestions on above doubts please!


Thanks in advance.







GeneralODBC Dialog Pin
Jmuwanga11-Jul-05 1:08
sussJmuwanga11-Jul-05 1:08 
GeneralURGENT:- ODBC connection string problem to access a remote SQL server Pin
Zalak10-Jul-05 20:02
Zalak10-Jul-05 20:02 
GeneralRe: URGENT:- ODBC connection string problem to access a remote SQL server Pin
Albert Pascual11-Jul-05 9:17
sitebuilderAlbert Pascual11-Jul-05 9:17 
GeneralXML Output spread over multiple rows Pin
totig10-Jul-05 19:41
totig10-Jul-05 19:41 
GeneralSqlDmo Pin
mahakhalid10-Jul-05 0:16
mahakhalid10-Jul-05 0:16 
GeneralRe: SqlDmo Pin
Mbat11-Jul-05 3:31
Mbat11-Jul-05 3:31 
Generalsql query Pin
Anonymous9-Jul-05 21:29
Anonymous9-Jul-05 21:29 
GeneralRe: sql query Pin
Colin Angus Mackay9-Jul-05 21:34
Colin Angus Mackay9-Jul-05 21:34 
GeneralDatabase project deployment advice Pin
Kunal Chaudhary9-Jul-05 9:08
Kunal Chaudhary9-Jul-05 9:08 
GeneralRe: Database project deployment advice Pin
Anonymous9-Jul-05 23:30
Anonymous9-Jul-05 23:30 
QuestionHow to check on Column value Pin
gharryh9-Jul-05 5:42
gharryh9-Jul-05 5:42 
GeneralInsert, Update and Delete Problem. Need Help. Thanks. Pin
shapper8-Jul-05 7:34
shapper8-Jul-05 7:34 
GeneralRe: Insert, Update and Delete Problem. Need Help. Thanks. Pin
Rob Graham8-Jul-05 8:08
Rob Graham8-Jul-05 8:08 
GeneralRe: Insert, Update and Delete Problem. Need Help. Thanks. Pin
shapper8-Jul-05 12:16
shapper8-Jul-05 12:16 
GeneralRe: Insert, Update and Delete Problem. Need Help. Thanks. Pin
Rob Graham8-Jul-05 17:16
Rob Graham8-Jul-05 17:16 
GeneralRe: Insert, Update and Delete Problem. Need Help. Thanks. Pin
jjrdk8-Jul-05 10:18
jjrdk8-Jul-05 10:18 
GeneralRe: Insert, Update and Delete Problem. Need Help. Thanks. Pin
Luis Alonso Ramos9-Jul-05 23:26
Luis Alonso Ramos9-Jul-05 23:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.