Viewing 15 posts - 16,306 through 16,320 (of 18,926 total)
Here's a template... I'll be waiting for your questions
.
IF Object_id('Split') > 0
DROP FUNCTION SPLIT
GO
CREATE FUNCTION [dbo].[Split] (@vcDelimitedString nVarChar(4000),
@vcDelimiternVarChar(100) )
/**************************************************************************
DESCRIPTION: Accepts a delimited string...
June 23, 2005 at 6:20 am
Care to enumerate what they all mean?? ![]()
![]()
![]()
June 23, 2005 at 6:18 am
You could probabely use dts o transfer data insted of looping... will make the whole thing much faster.
June 23, 2005 at 6:17 am
make the tTransToDate the clustered index (and primary if possible), and see how you're query will speed up
.
June 22, 2005 at 8:08 pm
SELECT mile_code,
AVG(Cast(CompAct as decimal(18,2)))
FROM opvw_actPerMile
GROUP BY mile_code
ORDER BY mile_code
June 22, 2005 at 3:00 pm
maybe you'd be better off using DTS bulk insert task, and just start that instead. You wouldn't hog your application for hours that way...
June 22, 2005 at 2:54 pm
I'd say... Did you put additional fail-safe on that switch???
June 22, 2005 at 2:34 pm
Can you tell us what you're trying to do?
June 22, 2005 at 2:32 pm
Unless you really wanna piss off some dbas
.
June 22, 2005 at 2:18 pm
I'll still stick to Noeld's solution... extremely simple and easy to understand.. Mine is just required if you query this field often and need performance.
June 22, 2005 at 2:17 pm
Finally one good utilisation of dynamic sql
.
June 22, 2005 at 2:14 pm
Group by or order by???
Can we see the table definition and some sample data with the expected results from the query?
June 22, 2005 at 2:09 pm
Is sp_renamedb forbiden too?
June 22, 2005 at 2:04 pm
Time to think about it at least...
June 22, 2005 at 2:01 pm
Viewing 15 posts - 16,306 through 16,320 (of 18,926 total)