Click here to Skip to main content
15,918,808 members
Home / Discussions / Database
   

Database

 
QuestionSelecting one record from one table and multiple from second table Pin
Dominick Marciano21-Mar-11 13:54
professionalDominick Marciano21-Mar-11 13:54 
AnswerRe: Selecting one record from one table and multiple from second table Pin
RyanEK21-Mar-11 14:44
RyanEK21-Mar-11 14:44 
GeneralRe: Selecting one record from one table and multiple from second table Pin
Dominick Marciano21-Mar-11 15:21
professionalDominick Marciano21-Mar-11 15:21 
GeneralRe: Selecting one record from one table and multiple from second table Pin
Dominick Marciano21-Mar-11 15:35
professionalDominick Marciano21-Mar-11 15:35 
QuestionPlease Interview Me Pin
Nagy Vilmos21-Mar-11 10:55
professionalNagy Vilmos21-Mar-11 10:55 
AnswerRe: Please Interview Me Pin
Simon_Whale21-Mar-11 23:12
Simon_Whale21-Mar-11 23:12 
GeneralRe: Please Interview Me Pin
Nagy Vilmos21-Mar-11 23:37
professionalNagy Vilmos21-Mar-11 23:37 
GeneralRe: Please Interview Me Pin
Simon_Whale21-Mar-11 23:43
Simon_Whale21-Mar-11 23:43 
0. Tables names with # in sql server are temporary tables.
1. I thought the same but sql sever ignores this and creates the table and tested the actual create table statement myself, but dont know why!


the correct answer is 54.

Explanation:
From CAST and CONVERT (Transact-SQL)[^]

Implicit Conversions:
Implicit conversions are those conversions that occur without specifying either the CAST or CONVERT function. Explicit conversions are those conversions that require the CAST or CONVERT function to be specified.

Scroll down to the illustration which shows all explicit and implicit data type conversions that are allowed for SQL Server system-supplied data types. These include xml, bigint, and sql_variant.

There is no implicit conversion on assignment from the sql_variant data type, but there is implicit conversion to sql_variant.
As barmey as a sack of badgers

Dude, if I knew what I was doing in life, I'd be rich, retired, dating a supermodel and laughing at the rest of you from the sidelines.

AnswerRe: Please Interview Me Pin
Johan Hakkesteegt21-Mar-11 23:37
Johan Hakkesteegt21-Mar-11 23:37 
AnswerRe: Please Interview Me Pin
Corporal Agarn22-Mar-11 1:32
professionalCorporal Agarn22-Mar-11 1:32 
AnswerRe: Please Interview Me Pin
Wendelius22-Mar-11 2:28
mentorWendelius22-Mar-11 2:28 
AnswerRe: Please Interview Me Pin
Prasanta_Prince15-Apr-11 0:56
Prasanta_Prince15-Apr-11 0:56 
QuestionSQLServer 2008 Express to Standard Upgrade Pin
Tim Carmichael21-Mar-11 8:27
Tim Carmichael21-Mar-11 8:27 
AnswerRe: SQLServer 2008 Express to Standard Upgrade Pin
Wendelius21-Mar-11 9:41
mentorWendelius21-Mar-11 9:41 
AnswerRe: SQLServer 2008 Express to Standard Upgrade Pin
PIEBALDconsult21-Mar-11 18:48
mvePIEBALDconsult21-Mar-11 18:48 
AnswerRe: SQLServer 2008 Express to Standard Upgrade Pin
Roger Wright21-Mar-11 19:42
professionalRoger Wright21-Mar-11 19:42 
QuestionConnect Dababase from Windows7 to windows 2008 Pin
buffering8321-Mar-11 4:59
buffering8321-Mar-11 4:59 
AnswerRe: Connect Dababase from Windows7 to windows 2008 Pin
Simon_Whale21-Mar-11 5:23
Simon_Whale21-Mar-11 5:23 
AnswerRe: Connect Dababase from Windows7 to windows 2008 Pin
Wendelius21-Mar-11 6:17
mentorWendelius21-Mar-11 6:17 
QuestionConnect Dababase from Windows7 to windows 2008. Pin
buffering8320-Mar-11 19:59
buffering8320-Mar-11 19:59 
AnswerRe: Connect Dababase from Windows7 to windows 2008. Pin
Wendelius20-Mar-11 20:29
mentorWendelius20-Mar-11 20:29 
GeneralRe: Connect Dababase from Windows7 to windows 2008. Pin
buffering8320-Mar-11 21:30
buffering8320-Mar-11 21:30 
GeneralRe: Connect Dababase from Windows7 to windows 2008. Pin
Wendelius20-Mar-11 21:41
mentorWendelius20-Mar-11 21:41 
AnswerRe: Connect Dababase from Windows7 to windows 2008. Pin
Bernhard Hiller20-Mar-11 21:35
Bernhard Hiller20-Mar-11 21:35 
AnswerRe: Connect Dababase from Windows7 to windows 2008. Pin
Jörgen Andersson20-Mar-11 22:37
professionalJörgen Andersson20-Mar-11 22:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.