You are creating an application where users are asked their gender in the gender combo box you have three options: ‘male’ , ‘female’ and ‘i choose not to disclose’ these options are stored in the table as 1, 0 or null which datatype should you use?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SQL Server Interview Questions

How exceptions can be handled in sql server programming?

0 Answers  


What are the requirements for sql server 2016?

0 Answers  


Do you know what are acid properties?

0 Answers  


How to get nth highest salary from employee table.

0 Answers  


How do I start sql server 2017?

0 Answers  






Join 3 tables (table1, table2 & table3) in a single query. Inner join should be applied for table1 & table 2 and left outer join for table1 & table3 where table2.dept is ABC

2 Answers  


Which language is supported by sql server?

0 Answers  


How can you insert null values in a column while inserting the data?

0 Answers  


What are the advantages of log shipping?

0 Answers  


What are distributed partitioned views?

0 Answers  


You have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation?

0 Answers  


Tell me the difference between clustered and non-clustered index?

0 Answers  


Categories