Viewing 15 posts - 20,581 through 20,595 (of 26,484 total)
Here is my suggestion at this point, take the code you have been provided, and see if you can make the necessary changes to meet your new requirements. If...
June 5, 2009 at 11:09 am
Not really sure how this is going to help you, but based on what you posted, here is an answer as an attachment. Again, I seem to be having...
June 5, 2009 at 9:20 am
Bob Hovious (6/5/2009)
A bit of humor for those of you who own dice with more than six sides.
That is a good one! Thanks for the laugh on slow Friday!...
June 5, 2009 at 8:42 am
usman.tanveer (6/5/2009)
GilaMonster (6/4/2009)The only operations that truncate a log file are:
Log backups (in full/bulk-logged)
Checkpoint (in Simple)
does that mean, it is not possible to break the Log sequence as...
June 5, 2009 at 8:34 am
You don't need to use AWE in the x64 OS/SQL Server environment. You do need to be sure set the maximum amount of memory that SQL Server will use.
June 5, 2009 at 8:26 am
Unfortunately anything we might say is simply guess work. You haven't provided us with the DDL for the table (including any indexes if defined), the insert statements you are...
June 5, 2009 at 7:57 am
Sounds like your database is using the full recovery model but you aren't doing any transaction log backups. What is your currnet backup strategy?
June 5, 2009 at 7:52 am
You could also give sswug.org a try, if you want to pay for membership. They seem to try and cover everything, not just MS SQL Server. They have...
June 4, 2009 at 9:11 pm
Well, you actually have several problems. One, no select, insert, update, or delete using the CTE. Second, you have a group by query in the CTE with no...
June 4, 2009 at 8:45 pm
Have you looked at my trigger code? It doesn't use MAX() and it is an AFTER INSERT trigger, not an INSTEAD OF trigger.
The inserts may be somewhat slower, but...
June 4, 2009 at 7:05 pm
Here is my test code creating a trigger to handle realtime updates. Please note that I create the trigger after inserting and updating the initial test data first.
Unfortunately, I...
June 4, 2009 at 4:36 pm
The first thing I'd like to emphaize is that having your clustered index on the ID column (identity column) is not necessarily the best idea. You also need to...
June 4, 2009 at 3:44 pm
Please don't cross post.
Please post replies here.
June 4, 2009 at 1:30 pm
Here is a variation using a CTE and the row_number() function. Not wanting to fight with it, I am just sending it up as a attachment as well.
June 4, 2009 at 12:30 pm
Viewing 15 posts - 20,581 through 20,595 (of 26,484 total)