Tech Point Fundamentals
125 subscribers
6 files
374 links
Articles, tutorials, videos and interview questions related to software development technologies. www.techpointfunda.com. Also please join us on Youtube:

https://www.youtube.com/c/TechPointFundamentals?sub_confirmation=1
Download Telegram
SQL Interview Questions and Answers - Part 19:
------------------------------------------------------------------

Q171. What is LOCK in SQL? Why locking is important in SQL if it causes performance overheads?
Q172. What is the Locking Hierarchy in SQL? What are the different resources that can have a lock?
Q173. What are the different types of lock modes in SQL?
Q174. What is Shared Lock (S) in SQL?
Q175. What is Exclusive Lock (X) in SQL?
Q176. What is Update Lock (U) in SQL?
Q177. What is Intent Lock (I) in SQL? What are the different types of Intent Lock?
Q178. What is Schema Lock (Sch) in SQL?
Q179. What is Bulk Update Lock (BU) in SQL?
Q180. What is the Key Range Lock in SQL?


https://www.techpointfunda.com/2022/09/sql-interview-part-19.html


#sqlinterviewquestions #mostfrequentlyaskedsqlinterviewquestions #sqlinterviewquestionsandanswers #interviewquestionsandanswers #techpointfundamentals #techpointfunda #techpoint #sql #database #interview


Please visit www.techpointfunda.com for more Interview Questions and Answers.
SQL Interview Questions and Answers - Part 20:
------------------------------------------------------------------

Q181. What is SQL Lock Compatibility? Can a resource have multiple locks at the same time?
Q182. What is Lock Escalation in SQL?
Q183. What is Dynamic Locking in SQL?
Q184. What is SQL Table Hint?
Q185. What is the difference between NOLOCK, and NOWAIT Table Hint in SQL?
Q186. What is the difference between READPAST and READUNCOMMITED Table Hint?
Q187. What is the difference between IGNORE_CONSTRAINTS and IGNORE_TRIGGERS table hint?
Q188. What is the use of INDEX Table Hint? What is the difference between INDEX(0) and INDEX(1) hint?
Q189. What is the difference between FORCESEEK and FORCESCAN Table Hint?
Q190. How can you check the occupied locks on a table or database?


https://www.techpointfunda.com/2022/10/sql-interview-part-20.html


#sqlinterviewquestions #mostfrequentlyaskedsqlinterviewquestions #sqlinterviewquestionsandanswers #interviewquestionsandanswers #techpointfundamentals #techpointfunda #techpoint #sql #database #interview


Please visit www.techpointfunda.com for more Interview Questions and Answers.
SQL Interview Questions and Answers - Part 21:
------------------------------------------------------------------

Q191. What is a deadlock in SQL? What is the difference between Deadlocking vs Blocking?
Q192. How can you detect and prevent deadlock in SQL?
Q193. What are the different tools that can be used to detect the deadlock?
Q194. If there is a table that is causing a deadlock most frequently. How can you minimize the deadlock on that table?
Q195. What is a Nested Transaction in SQL?
Q196. What is the use of the @@ROWCOUNT function in SQL?
Q197. What is Distributed Transaction in SQL?
Q198. Does Temp Table support TCL Commands? Can you use a Temp Table in Transaction?
Q199. Does Table Variable support TCL Commands? Can you use a Table Variable in the Transaction?
Q200. Does Table-Valued Type support TCL Commands? Can you use a Table-Valued Type in Transaction?


https://www.techpointfunda.com/2022/10/sql-interview-part-21.html


#sqlinterviewquestions #mostfrequentlyaskedsqlinterviewquestions #sqlinterviewquestionsandanswers #interviewquestionsandanswers #techpointfundamentals #techpointfunda #techpoint #sql #database #interview


Please visit www.techpointfunda.com for more Interview Questions and Answers.
SQL Interview Questions and Answers - Part 22:
------------------------------------------------------------------

Q201. How can you Handle Exceptions in SQL? Can you use the TRY/CATCH in SQL?
Q202. What is the TRY-CATCH Exception Handling Mechanism in SQL?
Q203. What is the @@ERROR function in SQL?
Q204. What is ERROR_MESSAGE() function in SQL?
Q205. What is the use of the RAISERROR () function in SQL?
Q206. What is the use of the THROW Statement in SQL?
Q207. What is the difference between the RAISERROR function and the THROW statement?
Q208. What are the Predefined Errors and their formats in SQL?
Q209. How can you generate user-defined custom error messages in SQL?
Q210. What is the Error Severity in SQL? What is its use?


https://www.techpointfunda.com/2022/10/sql-interview-part-22.html


#sqlinterviewquestions #mostfrequentlyaskedsqlinterviewquestions #sqlinterviewquestionsandanswers #interviewquestionsandanswers #techpointfundamentals #techpointfunda #techpoint #sql #database #interview


Please visit www.techpointfunda.com for more Interview Questions and Answers.
SQL Interview Questions and Answers - Part 23:
------------------------------------------------------------------

Q211. What is Dynamic SQL Query(D-SQL) in SQL? How it is different from Static SQL Query?
Q212. How can you run the Dynamic SQL Query? What is the difference between EXECUTE(), and sp_executesql() in SQL?
Q213. Can you use Dynamic SQL Query in Functions? Why?
Q214. Can you use the OUT parameter in a Dynamic SQL Query?
Q215. Can you return a value from the Dynamic SQL Query?
Q216. Can you use Temp Table in Dynamic SQL Query?
Q217. Can you use Transaction in Dynamic SQL Query?
Q218. What is the QUOTENAME() function in SQL?
Q219. What is SQL Injection? How can you prevent SQL Injection attacks?
Q220. Can you give me some Real Use Cases of Dynamic SQL Queries?


https://www.techpointfunda.com/2022/10/sql-interview-part-23.html


#sqlinterviewquestions #mostfrequentlyaskedsqlinterviewquestions #sqlinterviewquestionsandanswers #interviewquestionsandanswers #techpointfundamentals #techpointfunda #techpoint #sql #database #interview


Please visit www.techpointfunda.com for more Interview Questions and Answers.
SQL Interview Questions and Answers - Part 07:
------------------------------------------------------------------



Q50. What is the difference between DELETE and TRUNCATE command?
Q51. What is the difference between the WHERE clause and the HAVING clause in SQL Server?
Q52. What is the difference between COUNT(*), COUNT(col), and COUNT(1) in SQL?
Q53. What is the difference between UNION and UNION ALL in SQL?
Q54. How can you get the last inserted record in SQL? OR What is the difference between @@IDENTITY, SCOPE_IDENTITY(), and IDENT_CURRENT() in SQL?
Q55. What is the difference between ROW_NUMBER(), RANK(), and DENSE_RANK() in SQL?
Q56. What is the main difference between IN() and NOT IN() operators in SQL?
Q57. What is the difference between SQL INTERSECT and EXCEPT operator?
Q58. What is the difference between IN() and EXIST() operators?
Q59. What is the difference between NOT IN(), NOT EXISTS(), and EXCEPT operator?


https://www.techpointfunda.com/2022/07/sql-interview-part-07.html


#sqlinterviewquestions #mostfrequentlyaskedsqlinterviewquestions #sqlinterviewquestionsandanswers #interviewquestionsandanswers #techpointfundamentals #techpointfunda #techpoint #sql #database #interview


Please visit www.techpointfunda.com for more Interview Questions and Answers.
SQL Interview Questions and Answers Summary List:
--------------------------------------------------------------------

01. SQL Data Storage based Interview Questions Summary
02. SQL types and Tools based Interview Questions Summary
03. SQL Key and Constraints based Interview Questions Summary
04. SQL Data Types based Interview Questions Summary
05. SQL SET OPTIONS based Interview Questions Summary
06. SQL NULL based Interview Questions Summary
07. SQL Commands based Interview Interview Questions Summary
08. SQL SET Operations based Interview Questions Summary
09. SQL data access and formatting based Interview Questions Summary
10. SQL Join based Interview Questions Summary
11. SQL Clause based Interview Questions Summary
12. SQL DML/DDL based Interview Questions Summary
13. SQL Objects based Interview Questions Summary
14. SQL Query based Interview Questions Summary
15. SQL Function and Procedure based Interview Questions Summary
16. SQL Trigger and vVew based Interview Questions Summary
17. SQL Transaction based Interview Questions Summary
18. SQL Exception and Error handling based Interview Questions Summary


https://www.techpointfunda.com/2022/08/sql-interview-questions-list.html


#sqlinterviewquestionsandanswers #interviewquestionsandanswers #sqlinterview #sql #techpointfundamentals #techpointfunda #sqlserver #sqldatabase #sqldeveloper #mssqlserver #InterviewPreparation #techpoint


Please visit www.techpointfunda.com for more Interview Questions and Answers.
Different Types of SQL JOINs:
------------------------------------------

Q01: What is INNER JOIN?
Q02: What is NON-ANSI JOIN?
Q03: What is ANSI JOIN?
Q04: What is SELF JOIN?
Q05: What is OUTER JOIN?
Q06: What is LEFT OUTER JOIN?
Q07: What is RIGHT OUTER JOIN?
Q08: What is FULL OUTER JOIN?
Q09: What is CROSS JOIN?
Q10: What is the difference between FULL JOIN vs CROSS JOIN?


https://www.techpointfunda.com/2021/11/different-sql-join.html


#sqljoin #sqlinterviewquestionsandanswers #interviewquestionsandanswers #sqlinterview #sql #techpointfundamentals #techpointfunda #techpoint #sqlserver #sqldatabase #sqldeveloper #mssqlserver
Different Ways to Delete Duplicate Records in SQL:
----------------------------------------------------

Q01: How can you check and DELETE the duplicate records using SQL SubQuery?
Q02: How can you check and DELETE the duplicate records using SQL CoRelated SubQuery?
Q03: How can you check and DELETE the duplicate records using IN Clause?
Q04: How can you check and DELETE the duplicate records using JOIN?
Q05: How can you check and DELETE the duplicate records using the Derived Table(DT)?
Q06: How can you check and DELETE the duplicate records using the Common Table Expression (CTE)?
Q07: How can you DELETE the duplicate records using SQL Server integration service(SSIS) in SQL?


https://www.techpointfunda.com/2021/11/deleting-duplicate-records-in-sql.html


#sqldeletingduplicate #sqlinterviewquestionsandanswers #interviewquestionsandanswers #sqlinterview #sql #techpointfundamentals #techpointfunda #techpoint #sqlserver #sqldatabase #sqldeveloper #mssqlserver
Getting 3rd Highest Salary in SQL:
--------------------------------------

How many ways do you know, to get the 3rd highest salary in SQL?


https://www.techpointfunda.com/2021/08/getting-third-highest-salary-insql.html


#sqlinterview #sql #techpoint #techpointfundamentals