Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
Article Discussions
»
Article Discussions by Author
»
Discuss content posted by Richard Warr
»
SELECT INTO with a Temp Table
29 posts, Page 3 of 3
««
«
1
2
3
SELECT INTO with a Temp Table
Rate Topic
Display Mode
Topic Options
Author
Message
UMG Developer
UMG Developer
Posted Thursday, November 18, 2010 10:17 AM
SSCrazy
Group: General Forum Members
Last Login: Monday, May 13, 2013 11:21 AM
Points: 2,163,
Visits: 2,148
Thanks for the question, I too have run into this and now know better.
As for the missing GOs I thought about that being a problem, but since you had each command separated into a separate code block I assumed that wasn't your intent. (Even though the question was "What would be the result returned from the following script?")
Post #1023039
Koen Verbeeck
Koen Verbeeck
Posted Thursday, November 18, 2010 11:10 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Today @ 2:11 AM
Points: 9,378,
Visits: 6,473
Nice question and great follow up discussion.
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 #1023068
ziangij
ziangij
Posted Thursday, November 18, 2010 11:00 PM
SSCommitted
Group: General Forum Members
Last Login: Friday, May 17, 2013 2:53 AM
Points: 1,530,
Visits: 359
nice question... learned something new today...
Post #1023306
Iulian -207023
Iulian -207023
Posted Saturday, November 20, 2010 1:59 PM
SSC Eights!
Group: General Forum Members
Last Login: Saturday, March 16, 2013 9:53 AM
Points: 847,
Visits: 768
Thanks for the explanation vk-kirov and mtassin.
Regards,
Iulian
Post #1023966
RichardDouglas
RichardDouglas
Posted Monday, November 22, 2010 5:29 AM
SSC Eights!
Group: General Forum Members
Last Login: Monday, May 20, 2013 3:35 AM
Points: 969,
Visits: 650
Good question, thanks for taking the time to help educate the SQL community.
Hope this helps,
Rich
Post #1024250
webrunner
webrunner
Posted Monday, November 22, 2010 12:32 PM
SSCrazy
Group: General Forum Members
Last Login: Today @ 1:47 PM
Points: 2,118,
Visits: 2,213
This is crazy -- I didn't even think of the problem that happens, since the two table creation statements are in different parts of the IF block. But if that's the way it works, then it is good to know.
Thanks,
webrunner
-------------------
"The chemistry must be respected." - Walter White
"A SQL query walks into a bar and sees two tables. He walks up to them and says 'Can I join you?'"
Ref.:
http://tkyte.blogspot.com/2009/02/sql-joke.html
Post #1024592
Richard Warr
Richard Warr
Posted Tuesday, November 23, 2010 9:49 AM
SSCommitted
Group: General Forum Members
Last Login: Today @ 8:39 AM
Points: 1,609,
Visits: 1,103
RichardDouglas (11/22/2010)
Good question, thanks for taking the time to help educate the SQL community.
I assure you that it's nearly always the other way around
Post #1025275
SQLRNNR
SQLRNNR
Posted Wednesday, November 24, 2010 11:02 AM
SSCoach
Group: General Forum Members
Last Login: Today @ 10:25 AM
Points: 18,754,
Visits: 12,337
Thanks for the question.
Jason
AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1026066
zymos
zymos
Posted Monday, February 27, 2012 10:21 AM
SSC-Addicted
Group: General Forum Members
Last Login: Monday, May 20, 2013 9:43 AM
Points: 469,
Visits: 193
Great question on the stored procedure.
Thanks.
Post #1258389
« Prev Topic
|
Next Topic »
29 posts, Page 3 of 3
««
«
1
2
3
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.