Viewing 15 posts - 226 through 240 (of 542 total)
You don't need to use ActiveX to pass a variable from one package to another; you can do this by correlating the inner and outer variables in the "Execute Package"...
Signature is NULL
November 22, 2004 at 2:13 pm
No, the package does not have a hardcoded path. You point it at a directory (global variable "gv_FileLocation") and it loops through it and imports all files.
cl
PS: You could also...
Signature is NULL
November 22, 2004 at 1:46 pm
Sam's idea is good, only you should use a real table instead of a temporary one; Like dynamic SQL, using temp tables is bad for optimization.
Signature is NULL
November 19, 2004 at 6:15 pm
If the schema for each file is different, you're on your own (hope you're good at VB!). If every file is the same, though, you can modify the package in...
Signature is NULL
November 19, 2004 at 6:13 pm
Kanga,
I'm having a hard time understanding what you are trying to do. It seems like a simple update process that needs to happen once an hour, where it would be...
Signature is NULL
November 2, 2004 at 1:06 pm
Ferrell,
When you think about it, your case statement is simply another array of values. This could also be represented in a table, and could be processed much more efficiently. ...
Signature is NULL
October 29, 2004 at 12:40 pm
Not just XML, but there is a whole world of interoperability opening up with Web Services, and XML (SOAP) is becoming quite popular. As a DB developer in a web dev group I've...
Signature is NULL
October 21, 2004 at 8:52 pm
use pubs
declare @sql varchar(8000),
@TableName sysname
select @TableName = 'authors'
select @SQL = isnull(@SQL + char(9) + sc.Name + ' = isnull(' + sc.Name + ', ''<NULL>'')', '') + char(10)
from sysobjects so (nolock)
JOIN syscolumns sc...
Signature is NULL
October 20, 2004 at 4:47 pm
"Where exists (Select NULL From....)" should probably be changed to "Where Exists (Select 1 From...)", but I'm not sure that will change anything.
I think your problem has to do with...
Signature is NULL
October 20, 2004 at 4:34 pm
Joe,
I could not get your query to run on MS SQL 2K. There were problems with the substring functions (From..For...), plus problems using || (is this two bitwise ORs).
Why is...
Signature is NULL
October 15, 2004 at 5:13 pm
Alright, even though this will compile, the way you're handling transaction is funky. You're opening a transaction in the procedure, and commiting/rolling back the transaction in the trigger. While technically...
Signature is NULL
October 14, 2004 at 7:05 pm
strQ.Parameters.Add("@JobId", SqlDbType.SmallInt).Value = JobId
@JobID is declared as an Output parameter. It's been a while, but I believe you have to declare output parameters differently. Usually I don't use output parameters...
Signature is NULL
October 14, 2004 at 6:56 pm
No, haven't read it.
I've used a variation of your "nested set" model to build a navigation tree for our company website (I do webdev as well as DBdev). It...
Signature is NULL
October 7, 2004 at 4:51 pm
>>I had two advantages over you;<<
Quite a few more than that, I imagine!
Thanks for the input; I will look for these "portability...
Signature is NULL
October 7, 2004 at 4:03 pm
Joe, your point is quite applicable when handling more complex functionality like vectors.
But, sometimes there is only one question with one yes/no answer. The only way I know to explicitely enforce...
Signature is NULL
October 7, 2004 at 3:01 pm
Viewing 15 posts - 226 through 240 (of 542 total)