April 6, 2017 at 10:15 am
Thom A - Thursday, April 6, 2017 8:11 AMJeff Moden - Thursday, April 6, 2017 8:04 AMright after the one about how to get the current date and time. πOut of interest, how many people fail that one? I feel like I'm going to be... Unpleasantly unsurprised?
In interviews I have conducted involving that question, 8 of 10 failed that one. These were "senior dbas" with 10+ years experience.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
April 6, 2017 at 10:15 am
I want my points back. This was ridiculously unfair.
:Whistling:ππ
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
April 6, 2017 at 11:59 am
SQLRNNR - Thursday, April 6, 2017 10:15 AMThom A - Thursday, April 6, 2017 8:11 AMJeff Moden - Thursday, April 6, 2017 8:04 AMright after the one about how to get the current date and time. πOut of interest, how many people fail that one? I feel like I'm going to be... Unpleasantly unsurprised?
In interviews I have conducted involving that question, 8 of 10 failed that one. These were "senior dbas" with 10+ years experience.
Same here and same level. I'll also state that (before I quit counting) 20 out of 22 front end candidates that required "some knowledge of T-SQL" didn't have a clue. And, no... this isn't a new phenomena... this has been going on for a decade of interviews. Really, really sad state for the community at large here in SE Michigan. As I've said in many previous posts, I originally started asking the question because it was a ridiculously simple question that I thought would help break the ice and set candidates at ease a little bit. I had no idea that it would become a defining litmus-strip test of how the rest of the interview was going to go.
Shifting gears and if you want to have some fun on an interview when asked the "Manhole Cover" question, rattle off all the answers and then ask the interviewer "Which shape also has a consistent diameter but is not round and why would you use it as a manhole cover"? Eat your heart out, Google Interviewers. π
--Jeff Moden
Change is inevitable... Change for the better is not.
May 17, 2017 at 2:47 am
Taken,easy one for me ...thank you.
βWhen I hear somebody sigh, βLife is hard,β I am always tempted to ask, βCompared to what?ββ - Sydney Harris
June 7, 2017 at 2:01 pm
I have been working with SQL Server for a long time, but I don't fully understand the syntax of this statement; particularly the "AS V([Points])" portion. I would like to understand it more fully, but I don't even know what term or technique to search.
Thanks,
Noel
June 7, 2017 at 2:23 pm
nscheaffer - Wednesday, June 7, 2017 2:01 PMI have been working with SQL Server for a long time, but I don't fully understand the syntax of this statement; particularly the "AS V([Points])" portion. I would like to understand it more fully, but I don't even know what term or technique to search.Thanks,
Noel
It's the alias and column name for the table value constructor.
The values in the constructor are treated as a sort of derived table with the name V, and a single column, Points. It has 5 rows with the values listed.
Check out https://docs.microsoft.com/en-us/sql/t-sql/queries/table-value-constructor-transact-sql and https://www.simple-talk.com/sql/sql-training/table-value-constructors-in-sql-server-2008/ for a bit more info.
Cheers!
June 8, 2017 at 12:59 am
nscheaffer - Wednesday, June 7, 2017 2:01 PMI have been working with SQL Server for a long time, but I don't fully understand the syntax of this statement; particularly the "AS V([Points])" portion. I would like to understand it more fully, but I don't even know what term or technique to search.Thanks,
Noel
Simply, 'V' is the alias for the table and between parenthesis [Points] is the alias name for the column. Search for the syntax of FROM and VALUES
Viewing 7 posts - 16 through 21 (of 21 total)
You must be logged in to reply to this topic. Login to reply