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 →

What does DBCC SHRINKFILE do?

I have a database which is 11TB in size. I recently truncated over 5TB of data from this database.(I am fully familiar with all the reasons why you…

SQL Server

1 Answer · 634 Views · Answered ✓

Asked by: Coleman Garvin · 3 years ago

How to cast an interval postgresql?

I have a table where date | interval juin 1, 2022, 12:00 AM | 0 years 0 mons 0 days 0 hours 1 mins 58.963179 secs juin 2, 2022, 12:00 AM | 0 years 0…

SQL Server

1 Answer · 1.0K Views · Answered ✓

Asked by: David Edmunds · 3 years ago

How to convert date in string format to date datatype sql?

I have values in a column named Date as a nvarachar data type in the form of mmddyy and want to convert the values to a date datatype in the form of…

SQL Server

1 Answer · 886 Views · Answered ✓

Asked by: Aalap prabhakaran · 3 years ago

How to get last inserted id in sql?

Which one is the best option to get the identity value I just generated via an insert? What is the impact of these statements in terms of…

SQL Server

3 Answers · 9.8K Views · Answered ✓

Asked by: Dipesh Bhardwaj · 3 years ago

Explain the character set to move a table?

We're in the process of migrating to a new character set for several tables in our database. Some tables are currently using utf8/utf8mb3 character…

SQL Server

1 Answer · 818 Views · Answered ✓

Asked by: Aashish chaursiya · 3 years ago

What's the purpose of foreign key constraint are: in mysql?

When I did my first interview, I faced this confusing question. By using join we can join the tables, but what is the main purpose of FOREIGN KEY in…

SQL Server

1 Answer · 964 Views · Answered ✓

Asked by: Clare Matthews · 3 years ago

What is an engine database?

I have gone through the definition on http://en.wikipedia.org/wiki/Database_engine several times:A database engine (or "storage engine") is the…

SQL Server

1 Answer · 1.1K Views · Answered ✓

Asked by: Camellia Kleiber · 3 years ago

What to do when a subquery returns more than 1 row?

SELECT * FROM wp_posts WHERE ID IN ((SELECT courses FROM wp_category WHERE CatID =401) OR (SELECT meta_value FROM wp_postmeta WHERE post_id IN…

SQL Server

1 Answer · 1.2K Views · Answered ✓

Asked by: anu rhea · 3 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.