Explain how to rename a table using sql queries?



Explain how to rename a table using sql queries?..

Answer / Reena Devi

To rename a table in SQL, you can make use of the RENAME command. Here is an example for renaming a table called 'oldTableName' to 'newTableName':n```sqlnALTER TABLE oldTableName RENAME TO newTableName;n```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Why do we use the “using” statement?

1 Answers  


What is RunTime Polymorphism?

5 Answers   Deloitte, eClerx, Horizon, Intel, Pragna Technologies,


What are the benefits of Model-View-Controller Architecture?

1 Answers  


Explain about .Net products?

1 Answers  


why you wouldn't want to write into it even if you could

1 Answers  


What is reflection and what is it for?

1 Answers  


Describe the Managed Execution Process?

1 Answers  


What is .net environment?

1 Answers  


What's a windows process in .net?

1 Answers  


Give An example of a ctype and directcast.

2 Answers   Wipro,


Difference between Panel and GroupBox classes?

3 Answers  


How do we access crystal reports in .net?

1 Answers  


Categories