Few Question in Mysql. If any one know means tell me?

Am working in live server database without taking backup.
Unfortunately I truncate the table means is there any way to retrieve the truncate table in mysql?

Answer Please...



Like wise same i working in live server database without taking backup.
IF i delete the row in a table. Is there any other way to retrieve the row?



Answer Please.... 



Likewise same while working in MySqlYog
if we have duplicate values in a table. We selecting the row with where condition.
Then it will display the values

Table name: orderdetails
Orderid  Ordernumber  Employeeid
1                  1201          231
2                  1201          231

We select the any one values and click the delete button. Then it will show an alert box of 

Turn off the Tools-->Preferrences -->Prompt if multiple rows are getting updated.


As per the alert if we turn off that and delete the duplicate values alone. then the original values also deleted from database...


I dont know how to rectify? If any one know this answer inform me

Thanks for your answers in advance.....

Comments

  1. #1. No
    #2. No
    #3. Use the following SQL command. DELETE FROM orderdetails WHERE Orderid = 1 AND Ordernumber = 1201 AND Employeeid = 231 LIMIT 1;

    ReplyDelete

Post a Comment

Popular posts from this blog

How do i Increase the capacity of the Eclipse Output console?

An internal error occurred during: "Building workspace". Java heap space

How to convert the Math Number to Words in Java?