Viewing 15 posts - 46 through 60 (of 106 total)
That's true, John. Need to read more closely.
It's something like this then:
FINDSTRING(Column,"0",1) == 1 ? RIGHT(Column,LEN(Column)-1) : Column
It's not tested, but that should get you going.
Norman
DTS Package Search
December 4, 2007 at 11:41 am
December 4, 2007 at 10:44 am
Hi Subu,
You will need to change the data type on the output of the OLEDB Data Source to something more appropriate for Excel. Most likely a string.
Right click on the...
December 4, 2007 at 8:13 am
Teekay,
I only recommended ActiveX as an alternative way with DTS since a file watcher task is not available in 2000/DTS.
Now that you have the FileWatcher and SQL Server 2005 you...
December 4, 2007 at 8:03 am
Yes, use an ADO.Net Connection Manager.
Create an object variable.
Put your sp in an execute sql task using the above connection.
Then you can use a Foreach Loop Container to iterate through...
December 4, 2007 at 7:41 am
Hi Xu,
A process must still have the xls file locked.
Use this tool to find out which process is culprit.
http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx
Norman
DTS Package Search
December 4, 2007 at 7:32 am
Hans,
How about INSERT INTO Tabel1(field1, field2) VALUES(?, ?)
Norman
DTS Package Search
December 4, 2007 at 7:14 am
Hopefully this 3rd party tool has a command line interface.
If so, then the Execute Process Task will do the job.
Norman
DTS Package Search
November 28, 2007 at 10:52 am
Is this how your package looks?
OLEDB Source -> Lookup -> Destination
It should.
The lookup works differently than DTS. I have had to hook up both the good and error output of...
November 28, 2007 at 7:21 am
Assuming that the number of columns and column names will always be the same...
Set up the data transformation with a sql command with a static version of your query.
Change the...
November 28, 2007 at 7:07 am
Right click on the Exec SQL Task and click the Edit Breakpoints... menu item.
Enable the break point for the Post Execute event. It should by the second one.
Click OK.
The task...
November 28, 2007 at 6:56 am
Hi Manisha,
Where is the data source. Another file or a db.
One way would be to substring in a query.
The other would be to use a derived column task in the...
November 27, 2007 at 2:25 pm
Hi Pat,
I think the syntax should be:
D:\Apps\90\DTS\Binn\DTExec.exe" /SQL "\Package1" /SERVER servername1
Verify with the DTEXECUI util. Set it up and look at the command line item.
Norman
DTS Pacakge Search
November 27, 2007 at 2:23 pm
Hi Alen,
There are a couple options available before going the script task route.
Wildcards: Can you match the two file names with wild cards, * for multicharacter and ? for single...
November 27, 2007 at 7:21 am
Viewing 15 posts - 46 through 60 (of 106 total)