logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How would apply date range filter?


  • Correct Answer
  • One can use simple conditions like >= and <=, or use between/and but the trick here is to know your exact data type - Sometimes date fields contain time and that is where the query can go wrong so it is recommended to use some date related functions to remove the time issue In SQL Server common function for accomplishing the task datediff () function - Interviewees also have to be aware of different time zones and server time zone -To increase query performance you may still want to use between however you should be aware of proper format you should use if not it might misbehave during filtering 


  • Technology problems


    Search Results


    • 1. How will you find the 3rd max salary in the employment table?
    • Discuss
    • 2. What is a spanning Tree?
    • Discuss
    • 3. Classify the Hashing Functions based on the various methods by which the key value is found.
    • Discuss
    • 4. List out few of the applications that make use of Multilinked Structures?
    • Discuss
    • 5. ________ intended to address issues such as bugs and errors within existing software.

    • Options
    • A. Fix
    • B. BugFix
    • C. CodeFix
    • D. HotFix
    • Discuss
    • 6. Which TCP/IP port does SQL Server run on? How can it be changed?
    • Discuss
    • 7. Define a temp table.
    • Discuss
    • 8. What is the difference between JOIN and UNION?
    • Discuss
    • 9. What type of Joins have you used?
    • Discuss
    • 10. What are user defined data-types and when do you use them?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment