Viewing 15 posts - 61 through 75 (of 189 total)
Sadly, you can't use ? with like. ![]()
Put an ExecSQL task upstream that finds your table name based on the like criteria. Dump today's...
[font="Courier New"]ZenDada[/font]
April 28, 2005 at 11:32 am
HTH! That looks much prettier.
[font="Courier New"]ZenDada[/font]
April 27, 2005 at 10:24 am
just a thought...
declare @myPercent numeric(9,2)
declare @myNum int
set @myNum = 1
declare @myDenom int
set @myDenom = 0
set @myPercent = isnull((@myNum/nullif(@myDenom,0)),0)
select @myPercent
[font="Courier New"]ZenDada[/font]
April 26, 2005 at 3:25 pm
You can edit the connection timeout property in Disconnected Edit. Right click in the white space in your package to get there.
I like the ActiveX approach and use it a...
[font="Courier New"]ZenDada[/font]
April 26, 2005 at 11:24 am
That is exactly how I do it, but to make the coding really fast and easy, just write your precedence basis and value to globals. Then move from the active...
[font="Courier New"]ZenDada[/font]
March 18, 2005 at 11:49 am
You can dynamically choose to skip past the import step when it is not needed:
Use Calvin's script to evaluate the file size. Based on that, you can choose to either...
[font="Courier New"]ZenDada[/font]
March 8, 2005 at 9:23 am
In the future, when you schedule a dts package as a job - say using dtsrunui, simply don't check "encrypt" when you generate the command string. Or create the string...
[font="Courier New"]ZenDada[/font]
February 24, 2005 at 2:37 pm
No, sorry, not familiar with the tool.
Do you simply need to query sysjobsteps? The command field has the dts run command in it.
[font="Courier New"]ZenDada[/font]
February 24, 2005 at 9:40 am
In the DTS GUI, the package and version GUIDs are in the package properties dialog box. You can find the package name in msdb..sysdtspackages like this:
SELECT name
FROM sysdtspackages
WHERE (id = '{55521ACB-1643-45CD-B882-A6AB20FF59F8}')...
[font="Courier New"]ZenDada[/font]
February 23, 2005 at 10:07 am
Don't forget, you can specify exactly how many rows to transfer in the transformation data task properties dialog box on the options tab. ![]()
Here...
[font="Courier New"]ZenDada[/font]
February 11, 2005 at 11:06 am
Great tip Phill! We have been working with SQL Server for years and never thought of doing this. I just shared with my team. Thanks! ![]()
[font="Courier New"]ZenDada[/font]
February 10, 2005 at 12:55 pm
You can use and refer to the DTS connection object programmatically in the ActiveX script using the DTS object model. Once you think of it like that, you realize that...
[font="Courier New"]ZenDada[/font]
February 7, 2005 at 1:55 pm
declare @iVar int
select @iVar = ?
When using OLEDB, I get a syntax error. When using ODBC, I get "sql statement does not contain any parameters. How are you getting this...
[font="Courier New"]ZenDada[/font]
January 21, 2005 at 10:08 am
Control tables are a very nice way to control execution and flow in DTS. They can also be used to pass information to external packages. You can also use the...
[font="Courier New"]ZenDada[/font]
January 21, 2005 at 10:01 am
Viewing 15 posts - 61 through 75 (of 189 total)