SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 No Backup To Use to restore data
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

alexmax2003
Starting Member

Egypt
1 Posts

Posted - 07/11/2007 :  03:42:32  Show Profile  Send alexmax2003 a Yahoo! Message  Reply with Quote
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

Netherlands
96 Posts

Posted - 07/11/2007 :  05:48:24  Show Profile  Reply with Quote
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
Go to Top of Page

Kristen
Test

United Kingdom
22403 Posts

Posted - 07/11/2007 :  08:33:14  Show Profile  Reply with Quote
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
Go to Top of Page

MANJULAVANI
Starting Member

India
2 Posts

Posted - 08/07/2007 :  02:51:24  Show Profile  Send MANJULAVANI an AOL message  Reply with Quote
how to retrieve the second higest salary

manjulavani
Go to Top of Page

MANJULAVANI
Starting Member

India
2 Posts

Posted - 08/07/2007 :  02:52:07  Show Profile  Send MANJULAVANI an AOL message  Reply with Quote
how to retriev the even records


manjulavani
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22754 Posts

Posted - 08/07/2007 :  04:01:35  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
quote:
Originally posted by MANJULAVANI

how to retrieve the second higest salary

manjulavani


Your question is not at all related to this thread. You post post your question as new topic

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

madhivanan
Premature Yak Congratulator

India
22754 Posts

Posted - 08/07/2007 :  04:02:30  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
quote:
Originally posted by MANJULAVANI

how to retriev the even records


manjulavani


Again, follow my previous suggession

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)

USA
7020 Posts

Posted - 08/07/2007 :  09:45:42  Show Profile  Reply with Quote
quote:
Originally posted by MANJULAVANI

how to retriev the even records


manjulavani



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       id
FROM                   (SELECT 0        AS t1 UNION         SELECT       1 
UNION SELECT            2) AS z1        CROSS JOIN         (SELECT 0 AS t2
UNION SELECT            3 UNION         SELECT              6) AS z2 CROSS 
JOIN                    (SELECT         0 AS t3 UNION       SELECT 9 UNION
SELECT 18) AS              z3           CROSS               JOIN   (SELECT
0 AS t4 UNION            SELECT         27 UNION SELECT     54)      AS z4
) AS z ORDER BY 1




Solution courtesy by Pat Phelan




CODO ERGO SUM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000