Attended an Interview

  • Recently I attended an interview for a role of Senior SQL Developer and I wondered the kind of questions panel asked.Here are few of them.

    1.How many columns a SQL table can hold.

    2.How many string functions are there in SQL.

    3.How many non-clustered indexes a SQL table can have.

    4.What is the port to be used to connect SQL DB server.

    Then they started asking questions on syntax of SQL function.

    At last to stop them I just denied to reply the question by saying that why are you hiring me better to have a Google search for that 🙂

    --rhythmk
    ------------------------------------------------------------------
    To post your question use below link

    https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help
    🙂

  • Hahaaa...Google Search 🙂

    *******:cool:
    Sudhakar

  • Maybe they are trying to see if you know the limits and basics of SQL, they are all valid questions.

  • anthony.green (9/18/2012)


    Maybe they are trying to see if you know the limits and basics of SQL, they are all valid questions.

    I don't know that I agree. The first three questions are just trivia that I use Books Online to understand. How many string functions are there? I don't know. Want to know how the optimizer works?

    As to question four... it can be anything. The default is 1433, but you can make it what you want within the limits of ports. So that question is actually off (unless they're looking for this answer).

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

  • And the question of how many columns in a table depends on a couple things, it's not a fixed number. Maybe they were wanting to see if you knew that. 🙂

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    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
  • 1.How many columns a SQL table can hold.

    2.How many string functions are there in SQL.

    3.How many non-clustered indexes a SQL table can have.

    4.What is the port to be used to connect SQL DB server.

    Some of these questions seem valid to me as well

    From your questions I feel that either

    1. The interview panel was not experienced one and they have used "Google" to find "SQL Server Interview Questions" themselves OR

    2. This is just an initial round

    Anyways, your answers seem a bit rude to me in an interview

    You could have politely said, "I don't remember the exact syntax as there is always Google and MSDN to help me out"

    I have said this in some interviews and they were OK with it and say that they are only interested in the logic I use to solve the problem.


    Kingston Dhasian

    How to post data/code on a forum to get the best help - Jeff Moden
    http://www.sqlservercentral.com/articles/Best+Practices/61537/

  • GilaMonster (9/18/2012)


    And the question of how many columns in a table depends on a couple things, it's not a fixed number. Maybe they were wanting to see if you knew that. 🙂

    I know of two, Wide and Non-Wide tables, unsure if there are others

  • rhythmk (9/18/2012)


    Recently I attended an interview for a role of Senior SQL Developer and I wondered the kind of questions panel asked.Here are few of them.

    1.How many columns a SQL table can hold.

    2.How many string functions are there in SQL.

    3.How many non-clustered indexes a SQL table can have.

    4.What is the port to be used to connect SQL DB server.

    Then they started asking questions on syntax of SQL function.

    At last to stop them I just denied to reply the question by saying that why are you hiring me better to have a Google search for that 🙂

    Did you actually want the job? How did you reply the to questions above?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Kingston Dhasian (9/18/2012)


    1.How many columns a SQL table can hold.

    2.How many string functions are there in SQL.

    3.How many non-clustered indexes a SQL table can have.

    4.What is the port to be used to connect SQL DB server.

    Some of these questions seem valid to me as well

    From your questions I feel that either

    1. The interview panel was not experienced one and they have used "Google" to find "SQL Server Interview Questions" themselves OR

    2. This is just an initial round

    Anyways, your answers seem a bit rude to me in an interview

    You could have politely said, "I don't remember the exact syntax as there is always Google and MSDN to help me out"

    I have said this in some interviews and they were OK with it and say that they are only interested in the logic I use to solve the problem.

    +1

    I think the questions were quite appropriate for the position. If someone had told me to "Google" it in an interview, I'd have given them a military escort off the property right then and there.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • rhythmk (9/18/2012)


    Recently I attended an interview for a role of Senior SQL Developer and I wondered the kind of questions panel asked.Here are few of them.

    1.How many columns a SQL table can hold.

    2.How many string functions are there in SQL.

    3.How many non-clustered indexes a SQL table can have.

    4.What is the port to be used to connect SQL DB server.

    Then they started asking questions on syntax of SQL function.

    At last to stop them I just denied to reply the question by saying that why are you hiring me better to have a Google search for that 🙂

    Forgive me for saying this but I think you miss the point.

    You say the position is for a Senior Developer so I think the clue is in the title of the position.

    I don't think your interviewers were interested in exact numbers to be honest but perhaps they were looking for answers along the following lines? (I didn't google any of these so please feel free to have a go at me for my lack of knowledge but then again, I never claimed to be a Senior SQL Developer!):

    1.How many columns a SQL table can hold.

    Answer: Lots! LOL.. no really for an exact answer we can look in BOL but surely it depends on the data stored in the columns and the data types of the columns.

    2.How many string functions are there in SQL.

    I don't know the exact number but I can sure name a few of them, LEN, SUBSTRING, CHARINDEX, STUFF, REPLICATE etc.. etc...

    3.How many non-clustered indexes a SQL table can have.

    Again, I don't know the exact number but this also depends on the size of your table and disk space available etc...

    4.What is the port to be used to connect SQL DB server.

    Anyone who claims to be a Senior Developer should really know this. But knowing the default port number and explaining why this should be changed in the context of security would prove to your interviewers that you know what you're talking about.

    My 2 cents/pence 😉

    ---------------------------------------------------------

    It takes a minimal capacity for rational thought to see that the corporate 'free press' is a structurally irrational and biased, and extremely violent, system of elite propaganda.
    David Edwards - Media lens[/url]

    Society has varying and conflicting interests; what is called objectivity is the disguise of one of these interests - that of neutrality. But neutrality is a fiction in an unneutral world. There are victims, there are executioners, and there are bystanders... and the 'objectivity' of the bystander calls for inaction while other heads fall.
    Howard Zinn

  • Kingston Dhasian (9/18/2012)


    1.How many columns a SQL table can hold.

    2.How many string functions are there in SQL.

    3.How many non-clustered indexes a SQL table can have.

    4.What is the port to be used to connect SQL DB server.

    Some of these questions seem valid to me as well

    From your questions I feel that either

    1. The interview panel was not experienced one and they have used "Google" to find "SQL Server Interview Questions" themselves OR

    2. This is just an initial round

    Anyways, your answers seem a bit rude to me in an interview

    You could have politely said, "I don't remember the exact syntax as there is always Google and MSDN to help me out"

    I have said this in some interviews and they were OK with it and say that they are only interested in the logic I use to solve the problem.

    This was the final technical round of interview.

    Even in first instance I also felt that they were actually not looking for exact answers.So I just replied like this should be around this number or like that. But after every reply they got back to me with actual number. e.g. For columns I told like it depends but he replied back with exact number 1024.Then for SQL functions I simply told that I used 10-12 function and named those, don't remember the excat number then he replied that these are 24 and like was got the exact number.

    Even after few such type of questions I told him that "does the number really matters means we can get it on BOL or on Google in very first instance".Then he asked some questions on different sql concepts and asked me to write few queries.But later again he came back on the same bunch of questions.

    But don't know perhaps he was not agreed with me or as if he was having a limited set of questions 🙂 I finally gave up by a sweet wink on my face that instead of hiring me better to have a Google search and I made sure he did not take that in wrong way 😉

    Though he provided a good feedback and finally yesterday only HR offered me the position with my expectation 😉

    --rhythmk
    ------------------------------------------------------------------
    To post your question use below link

    https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help
    🙂

  • Jeff Moden (9/18/2012)


    Kingston Dhasian (9/18/2012)


    1.How many columns a SQL table can hold.

    2.How many string functions are there in SQL.

    3.How many non-clustered indexes a SQL table can have.

    4.What is the port to be used to connect SQL DB server.

    Some of these questions seem valid to me as well

    From your questions I feel that either

    1. The interview panel was not experienced one and they have used "Google" to find "SQL Server Interview Questions" themselves OR

    2. This is just an initial round

    Anyways, your answers seem a bit rude to me in an interview

    You could have politely said, "I don't remember the exact syntax as there is always Google and MSDN to help me out"

    I have said this in some interviews and they were OK with it and say that they are only interested in the logic I use to solve the problem.

    +1

    I think the questions were quite appropriate for the position. If someone had told me to "Google" it in an interview, I'd have given them a military escort off the property right then and there.

    Surely Jeff even I always try to maintain the decorum of an interview and never tried to humilate the interviewer even I know with best of my knowledge that I am correct. Because I always think that they have all rights to ask any questions and provide any feedback to the respective teams. But the day I lost my control (though I am sure when I left the room he was not unhappy with me as I just told him very politely and in very friendly manner) and was little frustated by whole day interview process.

    Even I got chance to interview people in my company for the same position and never asked these numbers. As at the end of day they should know the concepts and logic not the numbers.

    Still I felt sorry for my sarcastic remark 🙁

    --rhythmk
    ------------------------------------------------------------------
    To post your question use below link

    https://www.sqlservercentral.com/articles/forum-etiquette-how-to-post-datacode-on-a-forum-to-get-the-best-help
    🙂

  • rhythmk (9/18/2012)


    Jeff Moden (9/18/2012)


    Kingston Dhasian (9/18/2012)


    1.How many columns a SQL table can hold.

    2.How many string functions are there in SQL.

    3.How many non-clustered indexes a SQL table can have.

    4.What is the port to be used to connect SQL DB server.

    Some of these questions seem valid to me as well

    From your questions I feel that either

    1. The interview panel was not experienced one and they have used "Google" to find "SQL Server Interview Questions" themselves OR

    2. This is just an initial round

    Anyways, your answers seem a bit rude to me in an interview

    You could have politely said, "I don't remember the exact syntax as there is always Google and MSDN to help me out"

    I have said this in some interviews and they were OK with it and say that they are only interested in the logic I use to solve the problem.

    +1

    I think the questions were quite appropriate for the position. If someone had told me to "Google" it in an interview, I'd have given them a military escort off the property right then and there.

    Surely Jeff even I always try to maintain the decorum of an interview and never tried to humilate the interviewer even I know with best of my knowledge that I am correct. Because I always think that they have all rights to ask any questions and provide any feedback to the respective teams. But the day I lost my control (though I am sure when I left the room he was not unhappy with me as I just told him very politely and in very friendly manner) and was little frustated by whole day interview process.

    Even I got chance to interview people in my company for the same position and never asked these numbers. As at the end of day they should know the concepts and logic not the numbers.

    Still I felt sorry for my sarcastic remark 🙁

    Good enough. Still, did you actually answer the 4 questions you posted?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • rhythmk (9/18/2012)


    Kingston Dhasian (9/18/2012)


    1.How many columns a SQL table can hold.

    2.How many string functions are there in SQL.

    3.How many non-clustered indexes a SQL table can have.

    4.What is the port to be used to connect SQL DB server.

    Some of these questions seem valid to me as well

    From your questions I feel that either

    1. The interview panel was not experienced one and they have used "Google" to find "SQL Server Interview Questions" themselves OR

    2. This is just an initial round

    Anyways, your answers seem a bit rude to me in an interview

    You could have politely said, "I don't remember the exact syntax as there is always Google and MSDN to help me out"

    I have said this in some interviews and they were OK with it and say that they are only interested in the logic I use to solve the problem.

    This was the final technical round of interview.

    Even in first instance I also felt that they were actually not looking for exact answers.So I just replied like this should be around this number or like that. But after every reply they got back to me with actual number. e.g. For columns I told like it depends but he replied back with exact number 1024.Then for SQL functions I simply told that I used 10-12 function and named those, don't remember the excat number then he replied that these are 24 and like was got the exact number.

    Even after few such type of questions I told him that "does the number really matters means we can get it on BOL or on Google in very first instance".Then he asked some questions on different sql concepts and asked me to write few queries.But later again he came back on the same bunch of questions.

    But don't know perhaps he was not agreed with me or as if he was having a limited set of questions 🙂 I finally gave up by a sweet wink on my face that instead of hiring me better to have a Google search and I made sure he did not take that in wrong way 😉

    Though he provided a good feedback and finally yesterday only HR offered me the position with my expectation 😉

    Ah... now I get it and understand where you're coming from. Like so many interviewers, he felt compelled to give you the answers to the questions and probably did have a limited set of questions from one of the "interview questions" blogs/sites.

    So. Did you take the job?

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • My answers would have been similar to this.

    1.How many columns a SQL table can hold.

    I don't know the exact number but it is far more than I have ever needed in a solid relational design.

    2.How many string functions are there in SQL.

    None. Sql does not have a string datatype. It has differing sizes of character data. Then I would say that I assume the meant things like LEFT, RIGHT, UPPER, LOWER, REVERSE etc.

    3.How many non-clustered indexes a SQL table can have.

    Same as number 1.

    4.What is the port to be used to connect SQL DB server.

    Assuming the defaults you should know these. But you should also be able to explain how to find out if the defaults were not used.

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/

Viewing 15 posts - 1 through 15 (of 19 total)

You must be logged in to reply to this topic. Login to reply