Viewing 15 posts - 53,101 through 53,115 (of 59,064 total)
How did it help? What was the problem?
January 4, 2008 at 7:59 pm
Never import directly to the final destination table... import into a staging table... should be able to use a default on a staging table but, if not, just update the...
January 4, 2008 at 7:57 pm
Two way street here... please share your solution.
January 4, 2008 at 7:48 pm
Heh... do you intend to print that size sheet?
January 4, 2008 at 7:44 pm
Test the code in the presence of the indexes and not... that's the only real way to tell.
January 4, 2008 at 7:34 pm
That's one of the best compliments anyone could ask for, James. Thank you, Sir!
January 4, 2008 at 7:16 pm
14k characters? What on earth are you doing?
Still, Exec will handle many more than 14K characters... so that's not the problem. Can't tell what's causing the problem 'cause...
January 4, 2008 at 7:12 pm
Please share what you did...
January 4, 2008 at 7:03 pm
Both will take the same time because EM7 will run the same code as what you've typed behind the scenes...
January 4, 2008 at 7:57 am
Yes, thank you for the feedback and I agree that a clustered index will, in fact, make the concatenation run much faster... except that most folks aren't going to dedicate...
January 4, 2008 at 7:55 am
So...are you saying I can have a procedure do what this functions does?
Well, kind of... before SQL Server 2000, there was no such thing as user defined functions... people ended...
January 4, 2008 at 7:16 am
Since there is no need for dynamic SQL in this case, just remove the quotes from the variable names... like this...
ALTER PROCEDURE spgetemp
@empname varchar(30),
@jdate datetime
AS
SET NOCOUNT ON
insert into #t exec...
January 4, 2008 at 7:11 am
Heh... Mom always said, "Never run with scissors"... being in a hurry on code has the same effect on careers.
Anyway, glad you figured it out... and thank for the feedback.
January 4, 2008 at 7:05 am
Awesome... thanks for the feedback, Derek!
January 4, 2008 at 6:57 am
Unless none of your dates have times on them, the original query and the replacement query are bad...
January 4, 2008 at 12:34 am
Viewing 15 posts - 53,101 through 53,115 (of 59,064 total)