Viewing 14 posts - 1 through 14 (of 14 total)
Duh!!!
Thanks. I am kind of new to this. I didn't realize that the create only 'Creates'.
September 24, 2010 at 9:43 am
I get 'Command(s) completed successfully.' It completes right away and does nothing.
September 24, 2010 at 9:26 am
That was it Chris. Thanks. This code is actually cleaner than what I was using. Less chance of error.
Thanks so much
September 24, 2010 at 9:18 am
I ran with the below script and got an error: Incorrect syntax near the keyword 'where'.
I am loving the change though.
[/quote]
[code="sql"
update ds_CleanNames
set clean_name1 = LEFT(clean_name1, CHARINDEX(' DBA ',...
September 24, 2010 at 9:06 am
It is taking the part before the DBA as the first field.
It is taking everything after the DBA and populating another field.
I am cleaning the fields to do a match...
September 24, 2010 at 8:28 am
Hello,
Because of the problems with the database compatibility (not having the option of change to 90 or creating other databases), I tried to accomplish this without a cross apply. ...
March 25, 2009 at 10:40 am
Along with some other fields from my table, the resulting row will include information derived from parsing a string field. A sample of the string field that needs to...
March 24, 2009 at 6:59 am
So are you saying that there is no way of simulating the cross apply logic? I don't really have the option of compatibility 90.
March 23, 2009 at 10:22 am
It is taking parameters from an application and getting information to display to an aspx report. The problem is one of the fields (phra_request_querystring) is a string that has...
March 23, 2009 at 9:27 am
I am having the same problem. I cannot change the compatibility level on the database because of older applications. I need to simulate the cross apply and probably...
March 23, 2009 at 9:13 am
I was actually able to get it to work using cmpshell....
March 3, 2009 at 8:08 am
Thanks so much for all of the responses. We are looking into how we can use this information to accomplish this.
December 4, 2008 at 12:35 pm
Thanks, I will check that out. I am trying to do as much as I can programmatically.
December 4, 2008 at 6:17 am
Thanks for replying. I actually found a simpler answer:
SELECT t.field1,t.field2,LEFT(sl.numlist,LEN(sl.numlist)-1) as newfield
FROM(SELECT DISTINCT field2,field1 FROM tableA) t
CROSS APPLY(SELECT distinct CAST(field3 AS varchar(10)) + ',' AS [text()]
FROM tableB
WHERE field2= t.field2
FOR...
November 26, 2008 at 2:27 pm
Viewing 14 posts - 1 through 14 (of 14 total)