Viewing 15 posts - 4,246 through 4,260 (of 5,590 total)
GabyYYZ (4/29/2010)
Lynn Pettis (4/29/2010)
WayneS (4/29/2010)
April 29, 2010 at 1:59 pm
Lynn Pettis (4/29/2010)
Agreed, cursors have their place, there just is just a lot of places where they are inappropriate.
IMO, the best place for cursors is in other peoples code... when...
April 29, 2010 at 1:56 pm
Lynn Pettis (4/29/2010)
WayneS (4/29/2010)
April 29, 2010 at 1:55 pm
CirquedeSQLeil (4/29/2010)
800TB is mouth watering. It would be quite the learning opportunity.
Indeed it would be. And he did spell out Terabyte.
Maybe the OP has been off watching the db...
April 29, 2010 at 1:28 pm
If I can solve it, then it definitely doesn't take a guru to solve this. Though they can probably make it more efficient.
-- See how this starts off with a...
April 29, 2010 at 1:14 pm
Makes you wonder... Here, the OP (with 1800+ points) can't pull apart two simple nested cursors with 5 subqueries in that last nest into some reasonable code. And here, he...
April 29, 2010 at 12:08 pm
This code uses an in-frequently used form of the UPDATE statement. Read the article mentioned in the code, and understand it (especially the rules) before putting this code into a...
April 29, 2010 at 11:51 am
Grant Fritchey (4/29/2010)
ricardo_chicas (4/29/2010)
I just did the Update statistics and retrieve the ten million rows is two minutes, so I am happy nowThanks to all of you
Ah, so the FULL...
April 29, 2010 at 11:25 am
ps. (4/29/2010)
Many thanks for the script Wayne. This took 5 ms on a database where as the earlier one took 1 min 17 secs.
Hmm, 77 secs / .005 sec =...
April 29, 2010 at 9:46 am
Gail - welcome back... hope your break refreshed you!
April 29, 2010 at 9:35 am
D.Oc (4/29/2010)
My bet is on GB's not TB.
Especially singe "G" is right under "T" on the keyboard...
Edit: but then again, he did write out "Terabytes" in the first post...
April 29, 2010 at 9:12 am
This does it without cursors.
SELECT [User] = su.name,
[Table] = so.name,
[select] = IsNull(max(case when sp.action =...
April 29, 2010 at 5:29 am
Ian Yates (4/28/2010)
Now if only they'd do one for FoxPro....... 🙂 (we link to a number of third party systems that use FoxPro databases)
You do know...
April 28, 2010 at 9:17 pm
ninel,
First, thanks for supplying the DDL and DML to create some test data... that helps!
Can anyone please help me with a query that can pull the value of the CurrentTalk...
April 28, 2010 at 9:13 pm
Duplicate post. Please post responses at at the other post.
April 28, 2010 at 9:08 pm
Viewing 15 posts - 4,246 through 4,260 (of 5,590 total)