Rajanand Ilangovan
Rajanand's Blog

Rajanand's Blog

Follow
Follow
homewebcontactarchivedownloadnewsletter
Tag

questions

#questions

More content

Read more stories on Hashnode


Articles with this tag

SQL Server beginner interview questions and answers

May 2, 20222 min read

Part - 1 · How to generate a random string of 10 character? There are many ways to generate a random string. This one is a simple way to do it. SELECT...

SQL Server beginner interview questions and answers

How to find the missing numbers in a series?

May 1, 20221 min read

SQL interview questions and answers #9 · To demonstrate this, we will first create a test data number sequence from 1 to 25 with some missing numbers in...

How to find the missing numbers in a series?

How to identify similarly pronounced words in SQL server?

Apr 29, 20222 min read

There are two functions in SQL Server that are used to identify whether the two strings are pronounced similarly or not. They are SOUNDEX() - This...

How to identify similarly pronounced words in SQL server?

How to concatenate values from previous row to current row in SQL?

Apr 9, 20221 min read

SQL interview questions and answers #8 · Answer: DECLARE @t TABLE ( id INT IDENTITY(1,1) PRIMARY key, drink_name VARCHAR(30) ) INSERT INTO @t...

How to concatenate values from previous row to current row in SQL?

How to swap column value in SQL?

Mar 30, 20221 min read

SQL interview questions and answers #7 · Question: Write an update statement to swap the column values without using a temporary tables. Before Update:...

How to swap column value in SQL?

What happens to the records inserted into a table variable, if the transaction rollback?

Mar 24, 20221 min read

Question: DECLARE @People TABLE (first_name VARCHAR(50), age int); BEGIN TRAN INSERT INTO @People VALUES ('John', 25); INSERT INTO @People VALUES...

What happens to the records inserted into a table variable, if the transaction rollback?