Viewing 15 posts - 2,806 through 2,820 (of 6,036 total)
How do you know which "CarN" apply to any particular row with NULL?
Just in case you don't know, there is no fixed order of rows in relational databases.
And you cannot...
October 12, 2008 at 2:18 am
You order by single column.
But you put into it values from different ones depending on parameter.
SQL Server converts all values in all columns to the same datatype according to its...
October 10, 2008 at 4:57 am
You missed a dot.
Here:
FROM ['+@dbFrom+'].[dbo].[KontoKort X]
October 10, 2008 at 4:38 am
One day some developer will read a conversation like this and decide it's good to use "thorn" character as a replacement for CR/LF.
He/she will agree it with other side and...
October 9, 2008 at 10:34 pm
Jeff Moden (10/9/2008)
change all the delimiters to a "thorn" and go for it.
There is no guarantee "thorn" is not or will not be used within the filed for other...
October 9, 2008 at 2:10 pm
Matt Miller (10/8/2008)
I would have said CLR, but then again - Sergiy might start foaming at the mouth....:)
Why should I?
Just build a .NET scrubber for clean up the file into...
October 9, 2008 at 1:11 am
karthikeyan (10/8/2008)
is there any other work around to do the same ?
Dynamic SQL.
October 8, 2008 at 7:19 pm
Jeff Moden (10/8/2008)
ggraber (10/8/2008)
That would also be a good question... what's the largest string that anyone has split?
My procedure splits ntext string. Up to 2 GB long.
It's in SQL2k.
Tested...
October 8, 2008 at 6:55 pm
karthikeyan (10/8/2008)
Actually we (mine and my manager) new to this project. My manager has looked some procedure few days back. He is not happy with the procedure case format. He...
October 8, 2008 at 5:29 pm
Jeff Moden (10/8/2008)
October 8, 2008 at 6:41 am
Guys, I believe it's a good case when simple example would worth more than hours of reading.
Now for OP.
This is how your trigger FOR INSERT should look like:
Update ...
October 7, 2008 at 9:47 pm
indid = 1 means the index is clustered.
October 7, 2008 at 4:48 am
SELECT T1.CandidateID, 'Missing From Table 2'
FROM Table1 T1
WHERE NOT EXISTS (select 1 from Table2 T2 where T1.CandidateID = T2.CandidateID)
UNION ALL
SELECT T2.CandidateID, 'Missing From Table 1'
FROM Table2 T2
WHERE NOT EXISTS (select...
October 6, 2008 at 4:17 pm
And too small.
SQL Server reads data by pages.
If your whole data set fits one page it will be 1 read, no matter is it 1k or 7k.
And this page will...
October 3, 2008 at 1:34 pm
Viewing 15 posts - 2,806 through 2,820 (of 6,036 total)