Viewing 15 posts - 8,686 through 8,700 (of 14,953 total)
Look into what "ACID" means with regards to databases and transactions. That'll point you in the right direction on this.
August 18, 2009 at 2:37 pm
kumar99ms (8/18/2009)
Hi Thank you repllyin that query i not selecting the date
I am inserting date one new date with differenct table (employee,orders)
so plz suggest me it gives same error
Thanks
I...
August 18, 2009 at 2:36 pm
rjv_rnjn (8/18/2009)
GSquared (8/18/2009)
August 18, 2009 at 2:35 pm
You'll either need to modify the FK constraints so they cascade, or you'll need to disable them during the update and update each table individually and then re-enable them.
August 18, 2009 at 2:19 pm
kabaari: It would be helpful if you posted using the code blocks. Then your code and data would be visible on the page.
August 18, 2009 at 2:17 pm
RBarryYoung (8/18/2009)
August 18, 2009 at 2:16 pm
This would be a database change.
If, on the other hand, sorting is causing the problem, have you looked into your execution plan? You're probably missing an index that'll make...
August 18, 2009 at 1:26 pm
For that kind of situation, your best bet is usually to insert the data into a table that has a session ID in it, and the row numbers, and then...
August 18, 2009 at 1:18 pm
Only way I know would be turn that into a CTE/derived table, and join to it to do the update.
August 18, 2009 at 1:15 pm
I had completely forgotten about NOEXEC.
August 18, 2009 at 12:46 pm
Will this do what you need:
select top 25 * , ROW_NUMBER() over(ORDER BY lead_stage DESC , Lead_LeadId DESC ) AS rowranking
from vListLead
WHERE Lead_AssignedUserId=523 AND lead_status = N'In Progress'...
August 18, 2009 at 12:43 pm
The transaction log in this kind of situation is being used as a data safeguard. It helps prevent the database from becoming corrupted by partial writes and things of...
August 18, 2009 at 12:36 pm
On the column aliases, I do that to keep track of which source column is going into which destination column. Of course, I write my inserts explictly instead of...
August 18, 2009 at 11:36 am
You might be able to get that from the log files. If the database is in full recovery, get a log parser and see what you can find.
Otherwise, this...
August 18, 2009 at 11:34 am
Viewing 15 posts - 8,686 through 8,700 (of 14,953 total)