Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««123»»

SQL Server Interview Questions And Answers Expand / Collapse
Author
Message
Posted Thursday, February 10, 2011 7:33 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:51 PM
Points: 13,639, Visits: 10,534
SQLSmasher (2/10/2011)
One very common question asked by interviewers is:

CAST versus CONVERT in SQL Server


And even if it was, it would be a lousy one.
If I'd want to check syntax and functionalities, I'd look it up in BOL, not memorize it.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1061965
Posted Thursday, February 10, 2011 7:35 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:51 PM
Points: 13,639, Visits: 10,534
SQLSmasher (2/10/2011)
It is quite good question for initial telephonic interview. And you can give simple answer by
1. CONVERT is SQL speicific but CAST is ANSI standarised
2. CONVERT deal nicely with datetime using format, which is missing from CAST


1. You mean specific to the TSQL dialect.
2. In that case, a better question would be: "How would you format a datetime value to the ISO compliant format?"




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1061972
Posted Thursday, February 10, 2011 7:36 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 8:38 AM
Points: 5,047, Visits: 11,803
Koen Verbeeck
- Da-Zero is dead!



Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

When you ask a question (and please do ask a question: "My T-SQL does not work" just doesn't cut it), please provide enough information for us to understand its context.
Post #1061973
Posted Thursday, February 10, 2011 7:39 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 2:51 PM
Points: 13,639, Visits: 10,534
Phil Parkin (2/10/2011)
Koen Verbeeck
- Da-Zero is dead!


The name is indeed, quite dead. I decided it was time to grow up and lose the nickname I invented when I was 12 years old
But the avatar remains!




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1061978
Posted Thursday, February 10, 2011 7:48 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 8:38 AM
Points: 5,047, Visits: 11,803
Koen Verbeeck (2/10/2011)
Phil Parkin (2/10/2011)
Koen Verbeeck
- Da-Zero is dead!


The name is indeed, quite dead. I decided it was time to grow up and lose the nickname I invented when I was 12 years old
But the avatar remains!


That's a shame - it was quite a snappy nom de plume. My nickname aged 12 was much more offensive and would probably get me censored on SSC! Now I've just got to work out how to pronounce your surname



Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

When you ask a question (and please do ask a question: "My T-SQL does not work" just doesn't cut it), please provide enough information for us to understand its context.
Post #1061996
Posted Thursday, February 17, 2011 10:56 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Wednesday, April 9, 2014 3:45 AM
Points: 71, Visits: 153
This is the questions which other than the general indexes questions.

What are criteria to define covering index and how we create it?

Please provide some details for this question.









For Sql Server Interview Questions and Answer
http://sqlserverquest.blogspot.com


Randheer Singh

----------------------------------
CheckOut My Blog for SQL Server Realated Topics and Interview Questions for SSIS , SSRS and TSQL.

http://SQLServerQuest.blogspot.com
Post #1065865
Posted Thursday, February 17, 2011 10:59 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 3:52 PM
Points: 42,849, Visits: 35,978
Randheer (2/17/2011)
This is the questions which other than the general indexes questions.

What are criteria to define covering index and how we create it?

Please provide some details for this question.


Are you asking us so that you can update your blog? If so, do some research, start with the indexing articles I wrote for this site.



Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1065866
Posted Thursday, February 17, 2011 11:00 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 8:38 AM
Points: 5,047, Visits: 11,803
Randheer (2/17/2011)


This is the questions which other than the general indexes questions.

--


This index question does not scan.



Help us to help you. For better, quicker and more-focused answers to your questions, consider following the advice in this link.

When you ask a question (and please do ask a question: "My T-SQL does not work" just doesn't cut it), please provide enough information for us to understand its context.
Post #1065867
Posted Thursday, February 17, 2011 11:32 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Friday, June 27, 2014 12:43 PM
Points: 15,444, Visits: 9,596
Randheer (2/17/2011)
This is the questions which other than the general indexes questions.

What are criteria to define covering index and how we create it?

Please provide some details for this question.

For Sql Server Interview Questions and Answer
http://sqlserverquest.blogspot.com


It has to cover the query, and it's created the same way you create any index. I guess I'm not clear on what you're asking here. The only difference between a covering index and a non-covering index is the match-up between columns in the query and columns in the index being complete or incomplete.


- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread

"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon
Post #1065879
Posted Thursday, February 17, 2011 11:57 AM


Hall of Fame

Hall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of FameHall of Fame

Group: General Forum Members
Last Login: Today @ 1:03 PM
Points: 3,154, Visits: 8,022

What does all of this have to do with Integration Services?




Alvin Ramard
Memphis PASS Chapter

All my SSC forum answers come with a money back guarantee. If you didn't like the answer then I'll gladly refund what you paid for it.
Post #1065898
« Prev Topic | Next Topic »

Add to briefcase ««123»»

Permissions Expand / Collapse