RSS 2.0
 Thursday, March 13, 2008

Just a quick note today. Our buddy, SQL Server MVP and author Paul Nielson has decided to throw some code out there (two stored procedures) in the wild that will help DBAs understand and utilize the new data compression feature in SQL Server 2008. Head over to his site, www.sqlserverbible.com, to get the details (I don't want to steal his thunder here)! Thanks Paul!

 

--Josh


Digg It
Thursday, March 13, 2008 9:00:07 PM (Mountain Standard Time, UTC-07:00)  Josh Jones  #    Comments [0] - Trackback
Development | Josh's Posts | Microsoft | Programming | SQL Server | T-SQL
 Monday, March 10, 2008

PASS Home

A special episode at cstechcast.com this week as we record our podcast live from PASS Camp. This keynote address features an expert panel to explore the upcoming SQL Server 2008 database release with questions on features, technology, and strategy for our panel. Featured on our panel are Paul Nielsen - Microsoft SQL Server MVP and author of the “SQL Server Bible” book series (SqlServerBible.com), Kevin Cox – member of the SQL Server Product Group in the Customer Advisory Team at Microsoft (sqlcat.com), and Ben Hoelting - a .NET developer with Colorado Technology Consultants (benhblog.com). Of course, we also have our own co-hosts contribute; Eric Johnson, Microsoft SQL Server MVP, and Josh Jones, published author on many SQL topics. Author and co-host of the podcast Eric Beehler moderates the discussion. We are offering a video version of this episode as well; check it out at cstechcast.com.

Detailed topics include the delay of the official launch and it's effect on the market and its supporters. We also discuss SQL Server 2008 in the enterprise and how it takes on its biggest competitors, IBM and Oracle. On the flip side, we discuss perhaps the smallest competitor, mySQL, and what SQL Server is doing to stay small business friendly. Attendees bring up questions on horizontal scalability and data modeling tools. We get into it with new developer feature LINQ and the possible consequences to proper database management. We also get a read on the panelist's favorite new features of SQL 2008.

Quest Software Inc.

We would like to thank Quest Software for allowing us to bring you this event through their sponsorship of this episode. Find out how they can help you with their suite of database management solutions at quest.com.

Don't forget our drive to find new listeners through our Amazon.com gift certificate giveaway. Go to cstechcast.com and "refer-a-friend". Leave your comments at this blog post and thanks for listening.

Link to CS Techcast Episode 15 podcast: http://www.cstechcast.com/home.aspx?Episode=15

- Eric Beehler (consortioservices.com/blog)


Digg It
Monday, March 10, 2008 7:00:01 AM (Mountain Standard Time, UTC-07:00)  Eric Beehler  #    Comments [0] - Trackback
CS TechCast | Data Warehousing | Development | Eric B's Posts | Microsoft | MySQL | Podcast | SQL PASS | SQL Server | Sun | T-SQL
 Thursday, January 17, 2008

I am easily excited, a nice calculator watch can keep me occupied for hours on end, but that aside, the new MERGE statement in SQL Server 2008 makes me a little giddy. Gone are the days of IF....THEN logic to decide whether a row needs to be inserted, updated, or deleted. The MERGE allows you to take care of the logic and the insert all in one shot. What's more, you can compare a entire record set all at once instead of going row by row. Here's is a quick example of using MERGE.

MERGE tbl_address AS current_addresses

USING

(

SELECT customer_objid = address_label, addressline1, addressline2, city, region, country, zipcode, is_deleted

FROM @addresses

)

AS

source_addresses(address_label, addressline1, addressline2, city, region, country, zipcode, is_deleted)

ON

(

current_addresses.address_label = source_addresses.address_label

)

 

WHEN NOT MATCHED THEN

INSERT (address_label, addressline1, addressline2, city, region, country, zipcode)

VALUES (source_addresses.address_label, source_addresses.addressline1, source_addresses.addressline2, source_addresses.city, source_addresses.region, source_addresses.country, source_addresses.zipcode)

 

WHEN MATCHED AND source_addresses.is_deleted = 1

THEN DELETE

 

WHEN MATCHED THEN

UPDATE

SET address_label=source_addresses.address_label, addressline1=source_addresses.addressline1, addressline2=source_addresses.addressline2, city=source_addresses.city, region=source_addresses.region, country=source_addresses.country,

zipcode=source_addresses.zipcode;

The USING section defines the "new" data, in this case a table variable. The ON section defines the join between the new and the existing data. Finally you can have a series of MATCHED statements that do things like insert WHEN NOT MATCHED, update WHEN MATCHED, or delete WHEN MATCHED and some other values indicates delete.

 

The possibilities are endless and the syntax is pretty clean. Have fun.
Digg It

Thursday, January 17, 2008 9:11:38 AM (Mountain Standard Time, UTC-07:00)  Eric Johnson  #    Comments [0] - Trackback
Eric J's Posts | T-SQL
 Wednesday, January 16, 2008

We have extra segments on SQL from our author interview on SQL queries to our own, real life experts on MS SQL 2008 features, available at cstechcast.com as a MP3 download or a RSS subscription. Whether you do SQL everyday or just need some insight, this is a good episode. This week we chat with John Viescas, one of the authors of "SQL Queries for Mere Mortals". You can find more information from John Viescas at www.viescas.com. In the news, new chips from Intel, Microsoft SMB leases, SkyDrive being used by spammers, a new-old MBR threat, and the end of the IT department? Plus, "The Worst Tech Move of the Week", "Meet your Local User Group", "A Closer Look", and "The Weekly Tech Tip".

Show Notes

Links to the stories discussed in our podcast:

http://www.pcworld.com/article/id,141300-pg,1/article.html
http://www.darkreading.com/document.asp?doc_id=142884
http://www.eweek.com/c/a/Windows/Microsoft-to-Launch-New-Licensing-Option-for-SMBs/
http://www.eweek.com/c/a/Desktops-and-Notebooks/Intel-Makes-Enterprise-Pitch-at-CES/
http://www.networkworld.com/news/2008/010708-carr-it-dead.html

Featured User Group

The featured group this week, in keeping with our SQL theme, is the Colorado PASS camp. This is a joint effort with the three SQL user's groups on the front range to create an intense, two day workshop every year. Hit the web site and get the details at www.coloradopasscamp.org

Please come back again and tell all your friends to download the CS Techcast.

- Eric Beehler (consortioservices.com/blog)


Digg It
Wednesday, January 16, 2008 9:19:49 PM (Mountain Standard Time, UTC-07:00)  Eric Johnson  #    Comments [0] - Trackback
CS TechCast | Eric B's Posts | Intel | Microsoft | Podcast | Security | Spam | SQL Server | T-SQL
Search
Blog Directories
Computer Blogs - BlogCatalog Blog Directory
Blog Flux Directory
Categories
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Archive
<January 2009>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567
Statistics
Total Posts: 102
This Year: 0
This Month: 0
This Week: 0
Comments: 15
All Content © 2009, Consortio Services, LLC