Viewing 15 posts - 31 through 45 (of 194 total)
Although I know the value this article can represent you can actually be far more generic than you suggest.
You can write an SP that given the Source Table or View,...
December 22, 2008 at 3:10 am
Hi.
Firstly I am not trying to dispute the actual solution you are providing. In fact, I came across the phenomenon several years ago (by accident) but never found a...
December 22, 2008 at 1:24 am
I think You are looking for something like:
select
Object_Name( Object_Id)
, *
from sys.indexes
November 14, 2008 at 5:53 am
Maybe I should say it this way.
Good practice is to always check for nulls
so
If ( @a <> @b-2 ) Print 'Not Equal'
Else If (@A =@B )...
November 5, 2008 at 7:10 am
if (@A <> @b-2) select 'NULL is not equal to 3041'
else select 'NULL is equal to 3041'
@a is not equal to the number in
November 5, 2008 at 7:04 am
What you want is
where fCompany = ?
Then you would do the parameter mapping linking the "?" to a DTS Variable
November 5, 2008 at 6:57 am
Matching Column Name A in Table 1 to Column B in Table 2 is not really that difficult BUT
as the previous poster mentioned that gives no indication as to whether...
November 5, 2008 at 5:54 am
Float and real data types are noted as approximate values. use decimal or numeric with fixed lengths of decimal places for accurate numbers
November 4, 2008 at 12:25 pm
I use a variation on that syntax but found that the performance issue depends a lot on the table sizes that the parameters are used against, i.e
If param...
November 4, 2008 at 7:23 am
A bit more work but nothing major
November 4, 2008 at 4:23 am
select * From master.sys.All_objects where type = 'p' etc
November 4, 2008 at 1:44 am
Nice....That is an interesting way to get a random number i.e. newID combined with checksum()....
I like it
November 4, 2008 at 1:02 am
HI.
I too, would Love to know why you would do this, but I had more fun writing the solution that performs reasonably well on a million rows. Maybe it...
November 3, 2008 at 11:24 pm
HI.
I too, would Love to know why you would do this, but I had more fun writing the solution that performs reasonably well on a million rows. Maybe it...
November 3, 2008 at 11:23 pm
Just to Play devils advocate...
At the lowest level even "set based" queries are handled at a row by row level:D
Think about updating running totals with the
var=col=var +cnt
syntax
(goes and...
October 30, 2008 at 10:38 am
Viewing 15 posts - 31 through 45 (of 194 total)