Viewing 15 posts - 61 through 75 (of 90 total)
Thank you both. Creating and using the File System Object is something I am already familiar with.
What I am looking for is a way to execute SQL Code against the existing...
February 4, 2005 at 8:46 am
rmazzol,
Sorry, I got the ActiveX and ExecuteSQL syntaxes confused in my head. Plus, I did misunderstand your problem.
February 3, 2005 at 10:23 am
1. Yes, you can have more than one "else if" clause in an "if" statement; but you can have only one "else" clause, and an "else if" clause cannot come...
February 3, 2005 at 9:12 am
In addition to "select distinct", put an index on the start_date column, if you don't already have one. That might help it go a little faster.
February 3, 2005 at 8:51 am
rmazzol,
You can get the values out of the .ini file and into the global variables using the DTS Dynamic Properties task.
You then assign the global variables to the local VB Script...
February 3, 2005 at 8:44 am
This is not really related to your problem, but I have always wondered why, when using a cursor (ugh!), you would want to use two 'fetch' statements? Why not set...
February 1, 2005 at 12:17 pm
When you say the index produces rows, are you talking distinct values?
If so, then the index that produces less rows will take longer to find a distinct row, because it has...
February 1, 2005 at 12:07 pm
That should work. Just remember that it will change the value of @SecondaryKeyValue in the calling procedure.
January 31, 2005 at 5:32 pm
smknox,
When you call a stored procedure with an output variable you need to assign the ouptput variable of the called stored procedure to something.
I'm a little confused in your example...
January 31, 2005 at 8:54 am
I'm not familiar with the nuts and bolts of how an update is actually accomplished by SQL Server, but you are trying to update a record which has not yet been fully inserted. That...
January 27, 2005 at 10:22 am
Select
ja.Name,
op1.PositionTitle As FirstChoice,
op2.PositionTitle As SecondChoice
From JobApplicants As ja
Inner Join OpenPositions As op1
On ( ja.fkFirstChoice = op1.pkPositionID )
Inner Join OpenPositions As op2
On (...
January 25, 2005 at 9:01 am
If Exists()
Update
Else
Insert
January 21, 2005 at 8:13 am
eamonroche:
This is kind of a roundabout way to do it, but it worked for me.
First, declare a variable table with the columns from the main table that you want in your result...
January 20, 2005 at 8:52 am
Rajiv,
For my part, I have an FTP process set up with DTS. I store values such as remote server name, user name, password, and file names in a SQL table. ...
January 17, 2005 at 9:43 am
Jim,
Are you, by chance, looking at your results in Query Analyzer? And, returning at the results in text format, rather than grid format?
Query Analyzer will show you the column name...
January 17, 2005 at 9:39 am
Viewing 15 posts - 61 through 75 (of 90 total)