Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server

SQL Server Questions & Answers

Get a modern-day SQL Developer Training that will help you learn the basics of database querying, Microsoft SQL and the best-practices of Database Management to gain confidence with our Online SQL Certification and surmount a trending career field

1.4KDiscussions
1.7KAnswers
0Waiting for an answer
Ask a SQL Server Question →

How to set up an audit for the tables using procedures?

As a lot of operations and tasks are performed in a single procedure, it is recommended that the to keep the logs in the table to check in case of…

SQL Server

1 Answer · 1.5K Views · Answered ✓

Asked by: Joshua Smith · 6 years ago

How can transaction be maintained in a procedure?

It helps in ensuring that either all the SQL statements written in between the transaction run successfully or no statement should be executed…

SQL Server

1 Answer · 1.3K Views · Answered ✓

Asked by: Joshua Smith · 6 years ago

How are temporary tables used in stored procedure?

There are 2 types of temporary tables: local temporary table, global temporary table. Local temporary table: This table can be used by only the…

SQL Server

1 Answer · 1.6K Views · Answered ✓

Asked by: Jason Sharp · 6 years ago

How are exceptions handled in the procedure?

Error occurred during the execution of procedure is known as exception, this can occur at server level, database level or can be raised by user on…

SQL Server

1 Answer · 1.4K Views · Answered ✓

Asked by: Jason Sharp · 6 years ago

How are table variables used in stored procedure?

Table variables declared in the same way a variable declared. i.e. declare @EMP table (EMP_ID INT, EMP_NAME nvarchar (50)) The scope of table…

SQL Server

1 Answer · 1.7K Views · Answered ✓

Asked by: James Scott · 6 years ago

How can you send mail from a procedure with an attachment?

Mail can be sent via SQL server only if SMTP is set on the server. Post that you can send the mails as the normal mail also send the data from SQL…

SQL Server

1 Answer · 1.5K Views · Answered ✓

Asked by: James Scott · 6 years ago

How to create a stored procedure?

Store procedure can be created by mainly 2 ways: Using SQL commands: 1. Connect to server 2. Connect to the database

SQL Server

1 Answer · 1.5K Views · Answered ✓

Asked by: Elizabeth Clarke · 6 years ago

How to install sql server 2012

Below are the steps required to install SQL Server 2012: With the administrator user login to your Windows server From the link…

SQL Server

1 Answer · 1.2K Views · Answered ✓

Asked by: Aashish chaursiya · 6 years ago

What are the different procedure attributes in SQL server?

There are 2 type of attributes which are frequency used: With Encryption With recompile In Encryption : After using this there is no chance of…

SQL Server

1 Answer · 1.7K Views · Answered ✓

Asked by: Julian Springer · 6 years ago

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.

Explore other technologies

Pick another topic to find answers, interview questions, and real-world tips.