Viewing 15 posts - 1 through 15 (of 90 total)
As it turns out, the default query setting's configuration changed between versions of the tool I am using.... I now manually 'force' the settings to match those in...
April 17, 2008 at 10:28 am
Neither the db nor the query have ArithAbort on. I am running Developer Edition. On Express it works.
April 16, 2008 at 12:39 pm
To register a new custom task in DTS:
Install the package on the server where it will be executing. If there is no 'installation', simply copy the DLL to a...
November 27, 2007 at 11:47 am
This is what I would do...
Execute the stored procedure with known input parameters and verify the expected output value manually in Query Analyzer or similar.
Unless I am missing something, "para.Direction"...
November 27, 2007 at 11:15 am
The quick & dirty way to get the formatted code until the fix is in place is to paste the code into Word (or other editor) and replace the Manual...
November 27, 2007 at 6:13 am
Just so's ya know...
The date chosen for the base date (@baseDate) is unimportant except that it must be in range. The important part is the time component of the...
November 26, 2007 at 9:11 am
Try this:
declare
@dateA datetime,
@dateB datetime,
@baseDate datetime
set @dateA = '11/26/2007 13:27:53.205'
set @dateB = '11/26/2007 13:27:53.209'
set @baseDate = '07/04/1923 00:00:00.000'
select convert(char(12), dateadd(ms, datediff(ms, @dateA,...
November 26, 2007 at 6:34 am
I haven't given up but it appears my gut instinct cannot be satisfied (yet)...
I snagged the 'IS NOT NULL' from the URL mentioned above (http://www.sommarskog.se/dyn-search.html). Two problems...
November 21, 2007 at 9:36 am
Here's a little more elaborate but also potentially more flexible solution. It is still a prototype but seems to deliver on most of the key questions that might arise...
November 16, 2007 at 2:02 pm
There is another issue with the IS NOT NULL version too. NULLing all variables returns an empty set.
Back to the drawing board...glad I didn't erased it!
November 16, 2007 at 9:02 am
I initially saw the spec the same way James (that's what I get for not READING the spec). The issue was that NULLs do exist in the ID columns...
November 15, 2007 at 6:45 am
I have run the OPs query against both SQL2000 and SQL2005 and received no errors. Sergiy is on to something though...
I used the following query:
SELECT
CONVERT(char(4), P.name)...
November 14, 2007 at 1:37 pm
Use the OR version...
You can leave ANSI NULLs ON and it will still work.
Test it to be sure, dink with the AND/OR but the "column = @var AND @var IS...
November 14, 2007 at 9:53 am
Greetings Jonathan,
The crux of the problem is comparing NULL using logical operators. NULL does not compare!
I think something on the order of the following modification will remedy your issue:
If...
November 14, 2007 at 9:25 am
Greetings,
When you are connected to any SQL Server and execute a command, the command is executed on the server to which you are connected.
With that in mind, if you are...
November 14, 2007 at 8:14 am
Viewing 15 posts - 1 through 15 (of 90 total)