Viewing 15 posts - 50,971 through 50,985 (of 59,098 total)
Sounds like someone changed a role or reassigned a role. Maybe even changed to Windows Authentication without doing the necessary work to keep privs.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 8:25 pm
I import all columns as VARCHAR and evaluate from there. You should only import to a staging table... there you can make such decisions before transferring to the final...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 8:22 pm
Matt Miller (4/25/2008)
Jeff - that last code nulls out the 0's in the 3rd column - is it supposed to?
Nah... I screwed up.
The real key to this whole thing is...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 8:17 pm
Seggerman (4/25/2008)
I may be a newbie at SQL Server but in computer programming for over 3 decades
my current...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 8:00 pm
rbarryyoung (4/16/2008)
I am confused. Why isn't robert's answer sufficient?
I agree... why is everyone still looking for an aggegate function and passing columns of data when Robert's very simple formula...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 7:42 pm
Another problem other than the ones already stated is that even if all of this worked correctly, BCP destroys existing files and overwrites them.
I may have a work-around for this,...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 7:28 pm
Ariel Dimapilis (4/23/2008)
Anyone can help me how to delete a duplication records retain one value in one table
Can anyone give a script for deleting duplicates records.
Please help me, I'm...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 5:29 pm
What is the primary key of the matrix? Also, not that we'll necessarily need it, but can Dynamic SQL be used?
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 3:31 pm
GSquared (4/25/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 7:58 am
MarkusB (4/25/2008)
In order to work correctly, you must surround the source and target with the delimiters in the column... in this case, spaces.
[font="Courier New"]SELECT myvarcharCol from mytable
WHERE ' '+myvarcharCol+' '...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 7:56 am
I use this one often...
[font="Courier New"]...
...
WHERE (@A = AColumn OR @A IS NULL)
AND (@B = BColumn OR @b-2 IS NULL)
AND...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 7:47 am
Try this... it's Adrian's original code with some conditions added...
SELECT LEFT(raw_payload, CHARINDEX('+', raw_payload, 1)-1),
...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 7:41 am
Gus,
This is an SQL Server 2000 forum... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 7:29 am
Adrian... take a look at the original post... the first entry in the data looks like 'S2009+' which means that you'll get invalid substring messages for the 2 and 3rd...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 7:03 am
karthikeyan (4/25/2008)
I am also thought to use WHILE LOOP.Adrian, do you think is there any performance wise difference between using CURSOR and WHILE loop ?
Please share your thoughts.
Cursor (with...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 25, 2008 at 7:00 am
Viewing 15 posts - 50,971 through 50,985 (of 59,098 total)