Viewing 15 posts - 46,486 through 46,500 (of 59,095 total)
This is what Vladan is talking about...
--===== Move just the data we want to a place where we can work on it
SELECT ISNULL(Sal,0) AS Sal,
...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 22, 2008 at 5:58 am
GilaMonster (12/22/2008)
Jeff Moden (12/22/2008)
Ohhhhh.... that stuff..... gee... I wonder when they'll come out with an EDI data type? 😛
CREATE TYPE EDIEXTERNAL NAME EDI.[PointlessClrTypes.EDI] ;
:hehe:
--Jeff Moden
Change is inevitable... Change for the better is not.
December 22, 2008 at 5:25 am
AnzioBake (12/22/2008)
What happens for for tables that the rows are not in a clustered index with the right order.
Like I said in the article... copy to a temp table and...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 22, 2008 at 5:14 am
I agree... this one looks like RBAR because it does something for each row... but so do all of the queries built in SQL Server. The difference here...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 22, 2008 at 5:12 am
AnzioBake (12/22/2008)
You can write an SP that given the Source Table or...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 22, 2008 at 5:01 am
Hooman Shamsborhan (12/21/2008)
So what I've done so far is not going to help me at all?
I don't believe so... I believe you need to setup a new single partition table,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 22, 2008 at 4:50 am
GilaMonster (12/22/2008)
Jeff Moden (12/21/2008)
So, what is it, supposedly?
Spatial, xml, hierarchy, etc. The 'rich' data types that some bright spark in marketing thought meant SQL was evolving beyond a relational database....
--Jeff Moden
Change is inevitable... Change for the better is not.
December 22, 2008 at 4:46 am
timothyawiseman (12/21/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 22, 2008 at 4:42 am
I believe you're looking for ALTER TABLE / SWITCH. There's a few caveats to it, but it's all covered in Books Online.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 21, 2008 at 6:20 pm
Nah... too much work, Kevin. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
December 21, 2008 at 5:15 pm
So, what is it, supposedly?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 21, 2008 at 3:01 pm
Is it actually a unicode file you're trying to import? IF it is, try changing -c to -w in BCP and adding the [font="Arial Black"]DATAFILETYPE = 'widechar'[/font]...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 21, 2008 at 2:53 pm
[font="Courier New"]WHILE (1 = 1)
BEGIN
...
...
...
WAITFOR DELAY '0:00:10' --delay 10 seconds
END[/font]
Perhaps it's just me and maybe I'm not getting it, but it looks...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 21, 2008 at 2:11 pm
timothyawiseman (12/21/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
December 21, 2008 at 2:03 pm
Well, well! Glad to see that the grand misunderstanding as to what is "Set Based" is and is not, prevails. Odd, too, that I've advocated the use of...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 20, 2008 at 7:09 pm
Viewing 15 posts - 46,486 through 46,500 (of 59,095 total)