How to get the query of a table in sql server?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SQL Server Interview Questions

What are xml indexes?

0 Answers  


Can we create SP inside SP ? If no Y ? If yes Y ? Explain with an example ?

3 Answers   IBM, L&T,


What are examples of triggers?

0 Answers  


You are doing log shipping due to some reasons it is failing. How you will proceed from there

0 Answers  


what are the different types of replication you can set up in sql server? : Sql server database administration

0 Answers  






What is temporary table in sql server? Why we use temp table?

0 Answers  


How to use user defined functions in expressions?

0 Answers  


What is sub-query in sql server? Explain its properties.

0 Answers  


What is the difference between a view and a stored procedure?

0 Answers  


Creating Tables Using SELECT

1 Answers  


What are the commands used in DCL?

0 Answers  


Hi All, I want to display all duplicate records in the table. My query has to fetch all the records which are duplicate(First Name or Last Name). Also I want the ability to also pull names where there might be a middle initial placed in the end of the first name field, (i.e., "Maria Z. " vs. "Maria") as well. Please guide me to find this. Table: ID FirstName LastName 1 Zach H Hoffman 2 Zach Hoffman 3 Troy Hoffman 4 Shawn Livermore 5 Prem S 6 Jony Hoffman H 7 Zach Modan I need the query to filter......... ID FirstName LastName 1 Zach H Hoffman 2 Zach Hoffman 3 Troy Hoffman 6 Jony Hoffman H 7 Zach Modan I hope this example will give you clear idea..... Thanks in Advance Prem

2 Answers  


Categories