Viewing 15 posts - 4,186 through 4,200 (of 5,590 total)
Mine is similar to Goldie's. Main difference is that the IncidentType column has the desired text (instead of the column name), and it is sorted according to the sort order...
May 14, 2010 at 12:17 pm
WayneS (5/12/2010)
May 13, 2010 at 8:46 pm
PHXHoward (5/13/2010)
([YearE]== '00' ? NULL : (DT_DATE)
...
May 13, 2010 at 8:06 pm
You might want to look at sys.all_sql_modules... it's the replacement for syscomments
May 13, 2010 at 6:08 pm
It's close. It should be:
DELETE FROM Products FROM Products AS P1 JOIN NewProducts AS P2 ON P1.id = P2.id
Note that the first FROM is optional, so it also could be:
DELETE...
May 13, 2010 at 5:03 pm
With variables Year (int32), Month (int32), Day (int32), use this:
(DT_DATE) (
(DT_STR, 4, 1252) @[User::Year] + "-" + ...
May 13, 2010 at 5:00 pm
Robb Melancon (5/13/2010)
So in the end the QUpdate is about 75% faster than the Cursor.
Only 75%? I would have expected much better... closer to 90%. What else is...
May 13, 2010 at 2:20 pm
I've used both. Both are excellent products.
ERwin has continually increased their price to where, IMO, it's not worth it anymore.
May 13, 2010 at 2:13 pm
h2sut (5/13/2010)
Hello: This worked!! I really appreciate your help on this i cant thank you a enough. Thanks againbe bless
I would caution you: if you can't explain...
May 13, 2010 at 2:11 pm
CirquedeSQLeil (5/13/2010)
Gianluca Sartori (5/13/2010)
I think Celko does nothing to be pleasant, but Peter's reply is terrific.That is not uncommon. He carries his soapbox everywhere he goes.
That he does. But...
May 13, 2010 at 1:13 pm
First, if you're going to use the FROM clause in an UPDATE statement, you MUST include the table being updated.
Since the field being updated is coming from a PK...
May 13, 2010 at 10:35 am
urzsuresh (5/13/2010)
tag table
Tag TableName FieldName
abc wc s_name
lbl ...
May 13, 2010 at 10:23 am
Robb Melancon (5/13/2010)
May 13, 2010 at 10:10 am
Lowell (5/13/2010)
TheSQLGuru (5/13/2010)
>>they're a last resortNo, forums are NOT the last resort!
TheSQLGuru is right! this forum is one of my first items on my list of resources!
...
May 13, 2010 at 9:39 am
Ninja's_RGR'us (5/13/2010)
Steve Jones - Editor (5/13/2010)
What's the code?The move shouldn't lock of the server. That makes me suspect coincidence and there's another issue.
Glad to see I'm not insane :w00t:.
Here's...
May 13, 2010 at 9:25 am
Viewing 15 posts - 4,186 through 4,200 (of 5,590 total)