Viewing 15 posts - 481 through 495 (of 1,253 total)
Iam with you on that .
"Keep Trying"
December 10, 2008 at 11:18 pm
Hi
I doubt whether a single procedure that detects updates on any of the tables and updates the date column is possible.
You can write update triggers on the tables or
The procedure...
"Keep Trying"
December 10, 2008 at 11:12 pm
Chris Morris (12/9/2008)
steveb (12/9/2008)
SELECT top 10 * FROM [YourTable] Order by YourId Desc
It really depends on how your table is orderd, otherwise the results will not really mean anything
That's...
"Keep Trying"
December 9, 2008 at 5:01 am
Iam not sure how much you can automate this task or would even want to automate unless iam dealing with a very large number of changes.
Anyway i do it manually...
"Keep Trying"
December 9, 2008 at 4:59 am
Hi
Your requirement seems pretty simple. Dont think you need the actual code...Just lookup the BOL on how to create procedures.
Make sure you are doing the inserts inside a transaction.
You...
"Keep Trying"
December 9, 2008 at 4:41 am
thanks for the list.
"Keep Trying"
December 4, 2008 at 11:51 pm
Do you mean to say insert real time production data into development db. Then how will you put the data back to production?
What i would suggest is
Create a development...
"Keep Trying"
December 3, 2008 at 11:43 pm
ALZDBA (12/3/2008)
khushbu.kumar (12/3/2008)
...I'm deleting the record from child table and then parent table. Still I get the error
A parent row can have more than one child rows in a child...
"Keep Trying"
December 3, 2008 at 11:27 pm
Probably these "child" tables have Fkey relationships with other tables.
"Keep Trying"
December 3, 2008 at 3:10 am
Another masterpiece.
Small typo -
You have a single quote missing at the end of the date for the code under OLD fashioned swap.
"SET @EndDate = '2008-01-15 "
"Keep Trying"
December 3, 2008 at 2:34 am
You could use locking hints like TABLock or HoldLock. Alternatively you could set a higher transaction isolation level and do your inserts. Bear in mind that these have their own...
"Keep Trying"
December 2, 2008 at 10:52 pm
GilaMonster (12/1/2008)
Usually derived tables are less intensive because there's no interim storage and no need to insert stuff somewhere and then query it out. If you're...
"Keep Trying"
December 2, 2008 at 1:04 am
i think i got this from some code written by Jeff Modem 🙂
"Keep Trying"
December 2, 2008 at 1:00 am
Viewing 15 posts - 481 through 495 (of 1,253 total)