Viewing 15 posts - 1 through 15 (of 27 total)
I'm adding this to my repository of excellent SQL articles. Very nice job!
February 10, 2010 at 10:56 am
lmu92's solution looks to do the trick but I figured I'd post mine as well. Just another way of going about things. This also assumes that we use the start...
November 18, 2009 at 11:09 am
I didn't see a "Right click -> Properties -> Options" as one of the choices...:-P
November 10, 2009 at 9:01 am
If you bring up the properties of the attribute look in the "KeyColumns" and NameColumn" section. Drill down in both till you see the DataSize...insure that matches what is in...
November 5, 2009 at 4:15 pm
Not sure if this is exactly what you're looking for but it should get you started down the right path. If you create the below table and put the trigger...
November 3, 2009 at 5:45 pm
Thanks Steve! Option 1 worked perfectly.
October 12, 2009 at 9:44 am
GilaMonster (8/21/2009)
What OS, how much memory? Do...
August 21, 2009 at 4:20 pm
Thanks binko, I'll be sure to run that query in the future to see if we have any stale connections out there.
August 21, 2009 at 2:02 pm
Matt Miller (8/21/2009)
Are you rebuilding indexes/shrinking stuff/updating statistics?
No rebuilding or stats going on.
August 21, 2009 at 2:02 pm
No, this problem happens sometimes at 4 am on a Sunday night when I'm sure there are not admins logged into the server to make any changes like that. And...
August 21, 2009 at 11:50 am
Is it a stored procedure or is it a sql statement?
July 15, 2009 at 1:34 pm
select
col1,
REPLACE(col2 , '\' + col1, '')
from dbo.folderTable
That should do the trick as long as your folder names are not the same as the values in column 1. If they are...it...
February 27, 2009 at 2:49 pm
SELECT @TestAppend = @TestAppend + ', ' + a.MfrCode from (select distinct MfrCode from test) a
Does that give you what you're looking for?
January 21, 2009 at 12:55 pm
I generally would prefer the subquery over the temp table. I'm not sure if I would see any savings by using the temp table with an index but based on...
January 21, 2009 at 12:45 pm
Hi Kate,
Does the query below return the needed results?
select person_id,
insurance_payer_id,
RANK() OVER(PARTITION BY person_id ORDER BY insurance_payer_id asc) as 'cob'
from dbo.resequence
If so, you can use the results to update the table.
January 21, 2009 at 12:35 pm
Viewing 15 posts - 1 through 15 (of 27 total)