Viewing 15 posts - 451 through 465 (of 541 total)
You know, using a staging table isn't necessarily a bad idea with DTS. You can use some optimization (like the "table lock" referenced above) that you couldn't use with...
October 6, 2003 at 12:18 pm
------------------------------------------
Quote:
Not that the solutions won't work, but I would be careful to implement undocumented features of SQL Server like sp_MSforeachtable in production code.
I would use them only for adminstration...
October 6, 2003 at 12:14 pm
Hey Mulletboy! There's a couple of options, depending on the cause of your trouble.
Quick and dirty, use the (Nolock) query hint (updated your syntax, too, easier to read this...
October 3, 2003 at 7:03 pm
I can help with that. On SQL2k run as is (change @DB to @DB if SQL7)
declare @Query varchar(1000),
@FullQuery varchar(8000)
Set@Query = 'Select * From Table1'--Put Query here
Declare @DB Table (Query...
October 3, 2003 at 6:50 pm
The developer edition is hella cheep now; something like $89 (US) last time I checked.
October 3, 2003 at 6:26 pm
Lee,
Glad to see you're still kickin'. How'd it go with Isabel? Did the boat make it?
cl
September 23, 2003 at 10:57 am
Yeah, I've been playing with this and realized it had nothing to do with setting the variable to itself or the derived table.
Maybe I'm thinking about SQL 7.0, but I...
September 19, 2003 at 2:10 pm
---------------------------------------
DECLARE @State varchar(225)
SELECT @State = isnull(@State + ',', '') + State
FROM (SELECT DISTINCT State FROM authors) s
SELECT @State
-----------------------------------
Wow...this is really cool...no need for a loop or anything to create a...
September 19, 2003 at 12:32 pm
Why are there so many complex queries out there to do something really simple?
declare @Julian int
select @Julian = datepart(dayofyear, '2003-01-01')
Select dateadd(dd, @Julian,...
September 18, 2003 at 12:40 pm
Hans,
Still...nice trick! And if you know there are no deletions occuring on the table then this will work.
This is what I use:
SELECT top 1 *
FROM <table name>
order by <identity...
September 18, 2003 at 12:17 pm
I usually use a DTS package to move any db objects (and small amounts of data) from one server to another. The task to use is called "Copy SQL...
September 18, 2003 at 11:50 am
Nah...never met him. Wish I could, though; he has an old reputation as a bit of a "anti-hero" with the SF establishment. He moved on pretty quickly, but...
September 12, 2003 at 4:19 pm
Yeah, he's a character alright! Seems like an incredibly inteligent guy, and he doesn't give a crap for what people think about him.
Never realized until today quite how prolific...
September 12, 2003 at 4:11 pm
OK, never mind. Found the book online (took a lot of searching, for some reason).
It's called "Dangerous Visions" (1967) and I highly recommend it for SF and/or trip (ta)...
September 12, 2003 at 3:38 pm
Viewing 15 posts - 451 through 465 (of 541 total)