logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Define a temp table.


  • Correct Answer
  • In a nutshell, a temp table is a temporary storage structure It means you can use a temp table to store data temporarily so you can manipulate and change it before it reaches its destination format In table_usergender column change ?male to female? and ?female to male? in one SQL statement UPDATE table_user SET gender = CASE gender WHEN ?male? THEN ?female? WHEN ?female? THEN ?male? ELSE gender END 


  • Technology problems


    Search Results


    • 1. Which TCP/IP port does SQL Server run on? How can it be changed?
    • Discuss
    • 2. How would apply date range filter?
    • Discuss
    • 3. How will you find the 3rd max salary in the employment table?
    • Discuss
    • 4. What is a spanning Tree?
    • Discuss
    • 5. Classify the Hashing Functions based on the various methods by which the key value is found.
    • Discuss
    • 6. What is the difference between JOIN and UNION?
    • Discuss
    • 7. What type of Joins have you used?
    • Discuss
    • 8. What are user defined data-types and when do you use them?
    • Discuss
    • 9. What are the properties and different Types of Sub-Queries?
    • Discuss
    • 10. What is Catalog Views?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment