Viewing 15 posts - 4,486 through 4,500 (of 6,486 total)
What is it that the 2 users are doing that's tying up a SQL server that way?
Unless they're accessing a LOT of data, sounds like something's very wrong....
February 27, 2008 at 2:28 pm
Just about the only way to "resequence" an identity table like what you wish is to drop the identity column, and add a new identity column. And voila -...
February 27, 2008 at 2:07 pm
Let's try another "hint" to see if that works too. You want to grab the SUBSTRING of the combined name starting one character after that very same comma, and...
February 27, 2008 at 2:02 pm
What are you using this for? If you're just using it for some kind of display purposes - skip messing with the actual column, and use a calculated ROW_NUMBER().
Select...
February 27, 2008 at 1:46 pm
Then CHARINDEX is your friend. You will need to plit off the last name into its own field FIRST, and then worry about the possibilities of a second comma...
February 27, 2008 at 1:38 pm
Your issue is in bold
yanine (2/27/2008)
set @representative= 'Victaulic'
exec ('
select me.Member_Id, UPPER(me.Member_Name)as Member_Name, me.Member_City, me.Member_State, me.Member_Fax
from members me, Manufacturers m, Manufacturers_Categories mc, Categories c, Representations r
where me.Member_Id...
February 27, 2008 at 1:33 pm
I'm not sure how you'd do that from one single stored proc. As far as I know you'd need three separate sources, each yield one resultset, and three separate...
February 27, 2008 at 1:25 pm
He's right on one point and wrong on yet another.
There is definitely some truth to the fact that there is some very minor amount of work required to pull the...
February 27, 2008 at 12:50 pm
Jim Russell (2/27/2008)
February 27, 2008 at 12:26 pm
The property doesn't change, but the behavior does. Meaning - even if the delete said CASCADE, that's behavior within the constraint, so it doesn't fire (since you've set it...
February 27, 2008 at 11:14 am
Patrick (2/25/2008)
But WHY? Why does including 'if not exists' cause it to use sp_executesql? Is that...
February 27, 2008 at 10:41 am
Kurraghu - it's stored in increments of a day. so it's .5023 of a day.
So 1day = 24 hour=24*60 minutes = 24*60*60 secs,
therefore .5023*24*60*60=43398.72 sec = 723 minutes 18.72 secs...
February 27, 2008 at 10:29 am
Oh no - I'm no longer "allowed" to play MMORPG's.....:D. I have to steer clear of those if i plan on ever getting any sleep. Funny thing -...
February 27, 2008 at 10:16 am
Sugesh Kumar (2/27/2008)
February 27, 2008 at 10:10 am
Viewing 15 posts - 4,486 through 4,500 (of 6,486 total)