SP_RENAME in SQL Server
SQL Server SP_NAME is SQL Server Database Engine stored procedure that is used to Changes the name of a user-created object in the current database. This object can be a table, index column or alias datatype.
![]()
A Series of SQL Server basics to advanced level SQL Interview questions and answers that are commonly asked in interivew.
SQL Server SP_NAME is SQL Server Database Engine stored procedure that is used to Changes the name of a user-created object in the current database. This object can be a table, index column or alias datatype.
![]()
How to get the sizes of all databases on a SQL Server ?
![]()
Troubleshooting Database Mail
If you are not getting Database Mail after configuring it , you need to got through few more step to fix it.
![]()
In SQL Server there are new Dynamic Management Functions that is used to keep track of Object Dependencies sys.dm_sql_referenced_entities and sys.dm_sql_referencing_entities.
![]()
How to Find out Identity Column Without Using Column Name ?
![]()
Blocking occurs when a process hold a lock and other process has to wait till the first process completes.
![]()
how to delete duplicates records from a table in sql server ?.
![]()
SQL Server Interview Question & Answer Quiz on CREATE statement
![]()
SQL interview question and answer on Substring function
![]()
How to get the full text descriptions / definitions of any stored procedures , UDF or triggers in SQL ? There are many ways to… Read More »Get the definitions of Stored procedures, User Defined functions and Triggers in SQL
![]()
Q 1 > SELECT Count(1) as Output 1> NULL 2> Error 3> 1 4> Invalid select statement Answer Q 2 > SELECT Count(*) as… Read More »SQL Q & A on SELECT Statement
![]()
How to get the list of all the files in a folder into SQL table ?
![]()
What is the Difference between SQL Truncate and SQL Delete statements in SQL Server ?
![]()
How to copy a data of table from another database in SQL Server?
Suppose, you have a database1 and table1 and one another database2 and table2 in SQL server.
Now you are required to select data of a table1 of database1 from database2 of table2.
What would be a query for that?
![]()
How to check if User table or Temp table exists in database?
![]()
A Cumulative total or running total refers to the sum of values in all cells of a column that precedes the next cell in that particular column
![]()
A correlated subquery is a subquery that uses the values of the outer query and it is evaluated for each row processed by the outer query
A correlated subquery always depends on outer query for its value. Because of this dependency, a correlated subquery cannot be executed independently as a simple subquery .
![]()