Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Site Related Forums
 Article Discussion
 Article: Yukon Details on Technet

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-10-28 : 07:35:56
Microsoft has released a couple of articles about Yukon. These are all pretty detailed and include some screen shots.

Article Link.

byrmol
Shed Building SQL Farmer

1591 Posts

Posted - 2003-10-28 : 17:40:27
I only read the "Overview", but I am impressed.

- Non blocking index manipulation - Excellent..
- Database View - Perhaps a solution to temporal data?
- Database Mirroring - Cheap redundancy!
- Greatly improved recovery operations
- Nice touches to QA!
- XQuery and XML Data Type - BOOOOOH!!!!!!!!
- New CLR Native object model (SML) replaces SQLDMO
- Recursive queries - The Death of the Nested-Set in SQL Server?
- CTE? What the F*$#@ is a "Common Table Expression"
- PIVOT & UNPIVOT - For the cross tab queries freaks...
- APPLY operator? Relational? Hardly... It says "once per each row"... Bit suspect on this.
- BEGIN TRY/ BEGIN CATCH -- THANK YOU




DavidM

"SQL-3 is an abomination.."
Go to Top of Page

AjarnMark
SQL Slashing Gunting Master

3246 Posts

Posted - 2003-10-28 : 19:45:56
David, I agree.

[url]http://weblogs.sqlteam.com/markc/posts/384.aspx[/url]

--------------------------------------------------------
Visit the SQLTeam Weblogs at [url]http://weblogs.sqlteam.com[/url]
Go to Top of Page

Arnold Fribble
Yak-finder General

1961 Posts

Posted - 2003-10-29 : 04:15:48
quote:
- CTE? What the F*$#@ is a "Common Table Expression"


Itzik Ben-Gan has an interesting article in the November edition of SQL Server Magazine that covers this:

http://www.sqlmag.com/Articles/Index.cfm?ArticleID=40206
Go to Top of Page

byrmol
Shed Building SQL Farmer

1591 Posts

Posted - 2003-10-29 : 04:46:33
Thanks Arnold.. Some good info there.. I especial like the DDL triggers.

DavidM

"SQL-3 is an abomination.."
Go to Top of Page

jasper_smith
SQL Server MVP & SQLTeam MVY

846 Posts

Posted - 2003-10-29 : 16:49:36
There is a much expanded version of the SQLMag article here
[url]http://msdn.microsoft.com/library/en-us/dnsql90/html/sql_YukonTSQLEnhance.asp[/url]


HTH
Jasper Smith

0x73656c6563742027546f6f206d7563682074696d65206f6e20796f75722068616e6473203f27
Go to Top of Page

Lavos
Posting Yak Master

200 Posts

Posted - 2003-11-06 : 22:46:40
Yeah, APPLY's run for each row doesn't seem relational, but it's probably as close as we're going to get to a including a rowset sub-query.

I'm really liking some of the enhancements in T-Sql, though I really wish they would've added ANSI temp tables. IIRC, Oracle has them, and it'd save me a lot of hassle.


----------------------
"O Theos mou! Echo ten labrida en te mou kephale!"

"Where theres a will, theres a kludge." - Ken Henderson
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2003-11-06 : 22:53:18
What's the difference between a SQL Server temp table and an ANSI temp table? Is one more (or less) temporary than the other?
Go to Top of Page

byrmol
Shed Building SQL Farmer

1591 Posts

Posted - 2003-11-06 : 23:08:59
This should probably be in the Yukon forum but the "Quick reply feature is just too handy...

With the introduction of XML data types/XQuery and CTE (Thanks Arnold), can anybody guess which is going to be faster for representing/manipulating hierarchies?



DavidM

"SQL-3 is an abomination.."
Go to Top of Page

Lavos
Posting Yak Master

200 Posts

Posted - 2003-11-13 : 20:23:02
An ANSI temp table is declared as part of the database schema as opposed to being declared inline in a stored proc. At the begining (end?) of a connection it is cleared and you can only see rows inserted on your connection. Obvious benefits follow from having it created declaratively. I hate hunting down temp table creation to update their structures if the schema changes.

You could hack one together using a regular table, @@SPID, and a view, but it's hard to make sure you clear out old rows since there really isn't a built in way to do actions automagically when a new connection is created AFAIK. (and of course, connection pooling can screw this up. Hmmm.)

----------------------
"O Theos mou! Echo ten labrida en te mou kephale!"

"Where theres a will, theres a kludge." - Ken Henderson
Go to Top of Page

ehorn
Master Smack Fu Yak Hacker

1632 Posts

Posted - 2003-11-15 : 10:27:00
Graz had made mention of the new varchar(max) datatype
http://www.sqlteam.com/item.asp?ItemID=11986

also AjarnMark
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=21866

and that Varchar(max), nvarchar(max), and varbinary(max) will hold up to 2 GB of data.

Does this mean no more local variable limitations of 8000?
declare @ReallyReallyBigHunkOData varchar(2147483648)

Does anyone have more info on this datatype behavior in Yukon?
Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2003-11-15 : 12:00:37
You would declare it as varchar(max), and not worry about setting a size:

declare @a varchar(max)
set @a='Hello World!'
select @a
Go to Top of Page
   

- Advertisement -