Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
muralidaran_r
Starting Member
13 Posts |
Posted - 2007-11-29 : 02:21:39
|
| HiI have two tables A, BIn table A i have a column "StartDate" with Date & TimeI want to insert rows from A to B when system time reaches A.Startdate.How to do this?Please provide step by step guidance. |
|
|
PeterNeo
Constraint Violating Yak Guru
357 Posts |
Posted - 2007-11-29 : 02:28:00
|
| Insert into B ([ColumnsList])Select [ColumnsList]From AWhere StartDate = GETDATE() |
 |
|
|
muralidaran_r
Starting Member
13 Posts |
Posted - 2007-11-29 : 02:32:13
|
| How to run this query continous to check for new records in A? |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-11-29 : 03:24:22
|
quote: Originally posted by muralidaran_r How to run this query continous to check for new records in A?
Schedule that as a jobMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|