How SQLServer add a default value for a column?
I am using MS SQL Server. I have an "action" table with an "action_type" column that I want to set a default value of "to do" for. My DDL in MS SQL…
1 Answer · 1.7K Views · Answered ✓
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
I am using MS SQL Server. I have an "action" table with an "action_type" column that I want to set a default value of "to do" for. My DDL in MS SQL…
1 Answer · 1.7K Views · Answered ✓
Following the example from this page, I'm unable to stop a stored procedure from returning a select dataset.Executing this: SET NOCOUNT OFF; GO --…
1 Answer · 13 Views · Answered ✓
Many times I need to write something like the following when dealing with SQL Server. create table #table_name ( column1 int, column2 varchar(200)…
1 Answer · 954 Views · Answered ✓
Say I have a Customers table, and an Emails table. The emails table has these fields: Id CustomerId EmailValue Now, I want to create a constraint so…
1 Answer · 1.5K Views · Answered ✓
I would like request how to do cross tab in SQL using two table.I want achieve result : amy pal chin amy 2017-02-18 2017-02-18 pal 2017-02-18 chin…
1 Answer · 374 Views · Answered ✓
I've heard (I am pretty sure) that Developer Edition is free of charge and for downloading its registration is not required. But when I started…
2 Answers · 5.4K Views · Answered ✓
Why MS SQL Server refuse using supporting filtered index in this scenario?-- demo data CREATE TABLE #Test ( ID INT IDENTITY(1,1) NOT NULL CONSTRAINT…
1 Answer · 1.5K Views · Answered ✓
I have this trigger:create TRIGGER Emp_log on Emp Instead of insert as SELECT * FROM INSERTEDThen i make this insert:insert into emp…
1 Answer · 1.6K Views · Answered ✓
Is it dangerous to have dev environment with a Developer Edition and Live with Standard Edition, are the binaries different ?
1 Answer · 7 Views · Answered ✓
I was running a query for doing a comparison using = on an NVARCHAR field ignored the trailing space in the string (or auto-trimmed the value before…
1 Answer · 1.1K Views · Answered ✓
Does the order of operation that you place your LTRIM and RTRIM matter when used in conjunction with ISNULL? For instance, take the following example…
1 Answer · 3.1K Views · Answered ✓
Currently in our SQL Server 2012 database, we're using varchar, and we'd like to change that nvarchar. I've generated a script to do that.My question…
1 Answer · 612 Views · Answered ✓
Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.
Step-by-step SQL Server guides from industry experts
Common SQL Server interview questions, answered
Guides, tips and career advice on SQL Server from JanBask experts.
SQL Server Top 75 SSAS Interview Questions and Answers For Beginners & Experts
Prepare for your SSAS interview with our comprehensive guide featuring 75 top SQL Server Analysis Services interview questions…
SQL Server How to Become a SQL Database Administrator?
How to become a sql database administrator In 2025, discover what these professionals do, explore how much they earn and learn…
SQL Server OLAP vs OLTP: Key Differences, Architectures, Performance & Real-World Examples
Compare OLTP vs OLAP with clear definitions, architecture diagrams, real-world examples, and FAQs. Learn when to use each system…
SQL Server 70+ Most Asked SSIS Interview Questions for Freshers & Experienced
Prepare for your next SQL Server Integration Services (SSIS) interview with our top 70+ SSIS interview questions and answers.…
Pick another topic to find answers, interview questions, and real-world tips.