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 Wayne Sheffield
»
Contained database temporary tables
18 posts, Page 1 of 2
1
2
»»
Contained database temporary tables
Rate Topic
Display Mode
Topic Options
Author
Message
WayneS
WayneS
Posted Wednesday, April 13, 2011 11:15 PM
SSCertifiable
Group: General Forum Members
Last Login: Yesterday @ 9:59 PM
Points: 6,386,
Visits: 8,288
Comments posted to this topic are about the item
Contained database temporary tables
Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then
DON'T USE IT
on a production system! After all,
you
will be the one supporting it!
Links:
For better assistance in answering your questions
,
How to ask a question
,
Performance Problems
,
Common date/time routines
,
CROSS-TABS and PIVOT tables Part 1
&
Part 2
,
Using APPLY Part 1
&
Part 2
,
Splitting Delimited Strings
Post #1093305
Koen Verbeeck
Koen Verbeeck
Posted Thursday, April 14, 2011 12:49 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 6:30 AM
Points: 9,410,
Visits: 6,495
Nice question, thanks.
The hint (select 2) makes the last answer "None of the above" a bit superfluous
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 #1093331
Stewart "Arturius" Campbell
Stewart "Arturius" Campbell
Posted Thursday, April 14, 2011 1:32 AM
Hall of Fame
Group: General Forum Members
Last Login: Today @ 8:26 AM
Points: 3,164,
Visits: 4,344
I think this is going to get very interesting.
good question, thanks.
has definitely whetted my appetite to begin playing around with contained databases
____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1093344
mohammed moinudheen
mohammed moinudheen
Posted Thursday, April 14, 2011 3:26 AM
SSCrazy
Group: General Forum Members
Last Login: 2 days ago @ 10:29 PM
Points: 2,178,
Visits: 3,599
This is a tough one really
Mohammed Moinudheen
Post #1093384
Peter Trast
Peter Trast
Posted Thursday, April 14, 2011 6:51 AM
Mr or Mrs. 500
Group: General Forum Members
Last Login: Friday, March 15, 2013 10:35 AM
Points: 594,
Visits: 654
I made the same wrong guesses as the majority. Got the first one right on collation but guessed that metadata would be in the contained database since my understanding was that these contained databases would not have instance dependencies. Sounds like that is not strictly true.
Gotta read more now!!! :) Great question. I think we need more Denali questions. Any rumors on the actual name of this new version? Is it just SQL Server 2012 (sounds so forboding). I think "Maya" might have been a more interesting code name for 2012
Peter Trast
Microsoft Certified ...(insert many literal strings here)
Microsoft Design Architect with Alexander Open Systems
Post #1093464
SKYBVI
SKYBVI
Posted Thursday, April 14, 2011 6:52 AM
Ten Centuries
Group: General Forum Members
Last Login: Monday, May 20, 2013 12:10 AM
Points: 1,197,
Visits: 3,226
.
Post #1093465
SKYBVI
SKYBVI
Posted Thursday, April 14, 2011 6:54 AM
Ten Centuries
Group: General Forum Members
Last Login: Monday, May 20, 2013 12:10 AM
Points: 1,197,
Visits: 3,226
Koen Verbeeck (4/14/2011)
Nice question, thanks.
The hint (select 2) makes the last answer "None of the above" a bit superfluous
Same i was too thinking.
Regards,
Sushant
Post #1093468
WayneS
WayneS
Posted Thursday, April 14, 2011 8:11 AM
SSCertifiable
Group: General Forum Members
Last Login: Yesterday @ 9:59 PM
Points: 6,386,
Visits: 8,288
Koen Verbeeck (4/14/2011)
Nice question, thanks.
The hint (select 2) makes the last answer "None of the above" a bit superfluous
I think that hint is applied automatically to all questions with > 1 correct answer. Also, since the question shows up with checkboxes automatically when > 1 answer is correct, that kinda gives it away also. So, I guess that I shouldn't have had that answer as a choice.
Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then
DON'T USE IT
on a production system! After all,
you
will be the one supporting it!
Links:
For better assistance in answering your questions
,
How to ask a question
,
Performance Problems
,
Common date/time routines
,
CROSS-TABS and PIVOT tables Part 1
&
Part 2
,
Using APPLY Part 1
&
Part 2
,
Splitting Delimited Strings
Post #1093543
WayneS
WayneS
Posted Thursday, April 14, 2011 8:16 AM
SSCertifiable
Group: General Forum Members
Last Login: Yesterday @ 9:59 PM
Points: 6,386,
Visits: 8,288
Another nice little tidbit of information about temporary tables in Denali: in all prior versions of SQL Server, through 2008R2, all temporary tables are created with positive object_id values. In Denali, local temporary tables are created with negative values (global temporary tables are still positive). I'm not sure of why the change... but if you are checking for existence of a temp table by:
IF OBJECT_ID('tempdb..#table') > 0
then you better start changing it to
IF OBJECT_ID('tempdb..#table') IS NOT NULL
.
Wayne
Microsoft Certified Master: SQL Server 2008
If you can't explain to another person how the code that you're copying from the internet works, then
DON'T USE IT
on a production system! After all,
you
will be the one supporting it!
Links:
For better assistance in answering your questions
,
How to ask a question
,
Performance Problems
,
Common date/time routines
,
CROSS-TABS and PIVOT tables Part 1
&
Part 2
,
Using APPLY Part 1
&
Part 2
,
Splitting Delimited Strings
Post #1093548
KWymore
KWymore
Posted Thursday, April 14, 2011 8:29 AM
SSCrazy
Group: General Forum Members
Last Login: Today @ 11:48 AM
Points: 2,602,
Visits: 1,553
The metadata answer got me too. Nice question Wayne! I'm sure we will see more questions about contained databases, so I better start reading up!
Post #1093566
« Prev Topic
|
Next Topic »
18 posts, Page 1 of 2
1
2
»»
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.