Viewing 15 posts - 15,541 through 15,555 (of 18,923 total)
Ya that can be a problem
.
July 7, 2005 at 7:22 am
Will have to look for his reply first
.
July 7, 2005 at 7:22 am
Have you read this ?? Charindex is the slowest solution for this type of problems :
July 7, 2005 at 7:21 am
Why not leave the view there?? You might screw up the system if you don't delete the right one.
July 7, 2005 at 7:19 am
Please post the table definition, some sample data and the expected results so we can help you.
July 7, 2005 at 7:17 am
Please do not cross-post, we monitor all boards.
Finish the thread here : http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=197237
July 7, 2005 at 7:17 am
Select into can cause system tables locks in tempdb while the data is inserted, this can literally destroy the apllication. I'd stay far away from this.
July 7, 2005 at 7:14 am
That should be it... Do you get an error when executing this?
July 7, 2005 at 7:12 am
Maybe if you could post the query you used to get these results, we could help more :
Select Left(O.Name, 20) as OName, Left(C.Name, 20) as CName, C.id, C.XType from...
July 7, 2005 at 7:05 am
That's nice but how about we show him how to use the set based approach that he obviously doesn't know??
July 7, 2005 at 6:58 am
Let's go the other way around.
Create a new dts package, add an activex task, then switch the code to vb, then just insert this code and save, don't forget to...
July 7, 2005 at 6:54 am
Post the table definition, some sample data and the expected output from the query. We can't help you without that.
July 7, 2005 at 6:47 am
Forgot to include this part :
--I use this table for many other string operations as well
CREATE TABLE [Numbers] (
[PkNumber] [int] IDENTITY (1, 1) NOT NULL ,
CONSTRAINT [Pk_Number] PRIMARY KEY...
July 7, 2005 at 6:45 am
Check out this split code, just make a function out of it. Just do select Distinct EachId from dbo.fnSlip('1,2,3', ',')
Declare @vcDelimiter varchar(3)
Declare @IDs varchar(8000)
SET @IDs = '31,5,7,9,12'
SET @vcDelimiter =...
July 7, 2005 at 6:44 am
Viewing 15 posts - 15,541 through 15,555 (of 18,923 total)