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 |
alexmax2003
Starting Member
1 Post |
Posted - 2007-07-11 : 03:42:32
|
I have a problem i set old backup for my database all the new data gone any one know how to reset database to specific date that before the day i restore the old data i know it may be impassable |
|
b.veenings
Yak Posting Veteran
96 Posts |
Posted - 2007-07-11 : 05:48:24
|
if you backup the current database and try an point in time restore before you did the earlier restore.Good Luck!Need an SQLDB consultant?check www.veeningsengineering.nl |
|
|
Kristen
Test
22859 Posts |
Posted - 2007-07-11 : 08:33:14
|
If your database is in Full Recovery model you can take a Transaction backup (now) and then restore previous Full back, every Transaction log Backup since the full backup, in order, and on the last one use the STOPAT command to restore up to a specific point in time.If you are not using Full Recovery Model then this is not possible, but you may be able to use a 3rd party log reader to rescue information from the Log, but I doubt it!Kristen |
|
|
MANJULAVANI
Starting Member
2 Posts |
Posted - 2007-08-07 : 02:51:24
|
how to retrieve the second higest salarymanjulavani |
|
|
MANJULAVANI
Starting Member
2 Posts |
Posted - 2007-08-07 : 02:52:07
|
how to retriev the even recordsmanjulavani |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-08-07 : 04:01:35
|
quote: Originally posted by MANJULAVANI how to retrieve the second higest salarymanjulavani
Your question is not at all related to this thread. You post post your question as new topic MadhivananFailing to plan is Planning to fail |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-08-07 : 04:02:30
|
quote: Originally posted by MANJULAVANI how to retriev the even recordsmanjulavani
Again, follow my previous suggession MadhivananFailing to plan is Planning to fail |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2007-08-07 : 09:45:42
|
quote: Originally posted by MANJULAVANI how to retriev the even recordsmanjulavani
This should get you started:SELECT id, CASE WHEN Abs( Sin(Ascii(Reverse (id) ) *355.0 / 226)) < 7e-6 THEN 'Even' ELSE 'Odd' END FROM (SELECT t1 + t2 + t3 + t4 AS idFROM (SELECT 0 AS t1 UNION SELECT 1 UNION SELECT 2) AS z1 CROSS JOIN (SELECT 0 AS t2UNION SELECT 3 UNION SELECT 6) AS z2 CROSS JOIN (SELECT 0 AS t3 UNION SELECT 9 UNIONSELECT 18) AS z3 CROSS JOIN (SELECT0 AS t4 UNION SELECT 27 UNION SELECT 54) AS z4) AS z ORDER BY 1 Solution courtesy by Pat PhelanCODO ERGO SUM |
|
|
|
|
|