|
|
A blog about code samples for mainly Microsoft SQL Server.
-
Have you ever wanted an RSS feed that displayed changes to a database? SQLRSS (http://codeplex.com/SQLRSS) may be just the ticket for you. This application uses the SQL Server 2008 feature called Change Data Tracking to gather changes made to the database (by any client) and then posts the changes to an RSS feed. The RSS feed can be consumed by many different clients including IE7 and Outlook. Which changes are displayed and how they are displayed is controlled by an XML configuration file and the Change Data Tracking feature in SQL Server 2008. This application is open source so you can see how the following technologies were used together:
- Change Data Tracking (CDT) feature of SQL Server 2008
- Reporting Services
- The syndication feed feature of WCF
- LINQ to XML
- ADO.NET
Also, because is this an open source community project we encourage you to contact us if you would like to share any bug fixes or extensions to this application.
You can find this project at http://codeplex.com/SQLRSS. Thanks!
|
-
SQL Server 2008 Release Candidate 0 (RC0) has shipped! You can get RC0 from http://www.microsoft.com/sqlserver/2008/en/us/trial-software.aspx. After you've installed SQL Server 2008, try out the latest batch of samples and sample databases at http://CodePlex.com/SqlServerSamples. New for this release is the rest of the AdventureWorks 2008 family of sample databases including AWAS2008 (the analysis services database) and AWLT2008 (the light weight AdventureWorks OLTP database for 2008). There are also some new OLEDB and ODBC samples.
At CodePlex you can browse the source code for samples without downloading, and then download just the samples from the particular sample area you want. Or, if you like, you can download all of the sample code all at once. The sample databases can be downloaded from http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx. You may notice our installers are sporting a new look and a new UI. We hope these installers will be the easiest ones to use yet.
As we get close to completing SQL Server 2008 we begin to naturally look forward to the next thing. If you have input on where you would like more samples or if you have some ideas around SQL Server and community software development I hope you'll add a comment to this blog entry. If there is some way we can help you be more effective in your job please let us know.
|
-
-
There is a new AdventureWorks family of sample databases available for SQL Server 2008 February CTP at https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=MSFTDBProdSamples. The AdventureWorks 2008 family of databases demonstrates some of the new features of SQL Server 2008. This family of databases can only be used with SQL Server 2008 and will not install successfully for earlier versions of SQL Server. The original AdventureWorks family continues to ship for SQL Server 2008, so you have a choice of staying with the compatible schema or trying out the new SQL Server 2008 features depending on which installers you download. The installers for the AdventureWorks 2008 family all have 2008 in their names. See the link above for additional details.
Right now most samples are compatible with the AdventureWorks family not the AdventureWorks 2008 family. As samples are migrated to the new schema the readmes for the samples will be updated and sample and snippets scripts will have statements like USE AdventureWorks2008 in them instead of USE AdventureWorks.
|
-
-
-
-
SQL Server 2008 July CTP is now available at https://connect.microsoft.com/SQLServer/content/content.aspx?ContentID=5395. The samples for the July CTP are available at http://codeplex.com/SqlServerSamples along with your favorite SQL Server 2005 SP2 samples.
Some folks have been confused about how to download the samples either from the portal page or from various projects. You just click on the Releases tab and you'll find MSIs which are the best way to download the sample code and sample databases. On the portal project (http://codeplex.com/SqlServerSamples) the MSIs contain all the sample code for all technologies. If you go to a particular project page listed on the home wiki page of the portal project, the Releases tab will contain installers for that particular technology. For example, the Releases tab on the Analysis Services product sample project will have MSIs which just contain Analysis Services samples. The same goes for all the rest of the other technology areas. The AdventureWorks sample database project (http://www.codeplex.com/MSFTDBProdSamples) also has a Releases tab, and the MSIs there can be used to dowload the various kinds of sample databases. There are always separate installers for each hardware architecture (x86, x64, IA64). Select the installer which matches the type of hardware you are using. For the database samples there are different kinds of sample databases to choose from (OLTP, OLAP/DW, Light (LT), Scripts). One thing that's different about the SQL Server 2008 database installers is that they attach the database for you (except the scripts installers which are for building the database yourself if you want). For more information about how to use CodePlex take a look at http://www.codeplex.com/SqlServerSamples/Wiki/View.aspx?title=HowToUseCodePlex&referringTitle=Home. Thanks!
|
-
Today the next release of SQL Server was announced: SQL Server code name "Katmai" or SQL Server 2008. You can download the June 2007 CTP from here: https://connect.microsoft.com/SQLServer/content/content.aspx?ContentID=5395. As always your humble samples team is on top of the situation and has Katmai June 2007 CTP samples ready for you with a brand new layout for our Wiki pages. Please check us out at http://CodePlex.com/SqlServerSamples. Don't worry the SQL Server 2005 samples are still available and we will continue to support them as we work on new samples for Katmai.
We welcome and encourage you to send us feedback on either connect or CodePlex and to blog and write forum posts about this new release and our samples. While there aren't currently a lot of new samples right now for Katmai, we hope to have some new ones to talk about in upcoming CTP releases.
|
-
SQL Server 2005 SP2a Product Samples are now released on CodePlex (http://codeplex.com/SqlServerSamples). The only change from the previous release is that the sample installers now have a EULA which is consistent with the MS-PL license we have on CodePlex. See the license tab in each project for the exact details.
This license change will make it easier for people who want to create derivative works from the samples to comply with the license and it cleans up the situation where CodePlex had one license and the installers had a slightly different one.
There are no changes to the samples themselves and there is no need to redownload them.
|
-
We’ve been discussing with customers and partners and with people inside Microsoft about how we can improve accessibility to the sample code, and move samples into a more community based approach. As a result of all these discussions, we’re moving to a new form of releasing samples, and a new way of including you into that process. You can find the result of our work at http://codeplex.com/SqlServerSamples. This is a toplevel project which links off to more specific projects. The projects fall into several different categories:
- Product samples. These are the same samples that shipped in the SQL Server 2005 box, and we expect that most of them will continue to ship in future releases. They are more accessible because instead of shipping in one large monolithic installer, there is an installer per technology (Analysis Services, Integration Services, Reporting Services, Engine, Data Programming (data access), Service Broker, Scripts (administrative), XML, End to End (integrated, covering several different technology areas), and the sample databases. The source code for these samples is also available online without requiring installation. So if there is just a little snippet of code you need from a particular sample, you can drill into the source control system just using your web browser and see the code.
- SQL Server Community Samples. These are samples we’ve published, but are not necessarily taking contributions on. They are a way for many different teams at Microsoft, MVPs, and other customers and partners to publish samples and share them with a broad community. Like all the sample projects on CodePlex (including the product samples) there are forums where ideas, questions, and concerns can be discussed. You can access that feature on the Discussions tab of the project. Also there is an Issue Tracker tab where you can file bugs and check the status of bugs.
- Featured Community Projects. These are samples where it will be possible for customers and partners to start and lead their own projects and/or work with folks at Microsoft on sample projects. There is a VSTS based source code control system hosted on CodePlex that makes working together on projects easy. It is possible that samples from either of the two previous categories could migrate to this category if there is sufficient interest. Use the forums to request that a sample in a different category move to this one.
Every project at CodePlex that we highlight on the http://codeplex/SqlServerSamples page will have someone who is actively monitoring the forums and possibly the issue tracking area (if support is offered) to make sure that customers and partners have a great experience using this new interactive approach to samples. We value your feedback and we’ll work with you to deliver the best possible experience we can for the entire SQL Server community. Thank you for participating.
|
-
-
-
Ever wanted to install the SQL Server 2005 samples on Vista? If so, I recommend using the lastest sample installers at http://www.microsoft.com/downloads/details.aspx?familyid=e719ecf7-9f46-4312-af89-6ad8702e4e6e&displaylang=en which we've recently updated for the December 2006 samples web refresh. The bits that get installed are identical to the July 2006 web refresh except these installers are supported on Vista. To run these samples you'll need SQL Server Express SP1 or SQL Server Express with Advanced Services SP1. Other editions of SQL Server 2005 (Developer, Enterprise) won't be supporting Vista until SP2. These installers provide full access to the person who is running the installation. If your admin installed the samples, you should ask them to grant you full access if that is what you need.
There is no point to installing the December 2006 web refresh if you aren't using Vista and you already have the July 2006 web refresh installed.
We are planning to release some new samples and some bug fixes in a future web refresh which will ship when SQL Server 2005 SP2 ships. I'll blog about it once those bits are live.
Thanks to everyone who met us or provided feedback on samples at PASS here in Seattle. It was great to meet some of you in person and get your input.
|
-
Hello,
Members of the SQL Server samples team will be at the PASS conference here is (not so sunny) Seattle this week. We'll be handing out some hardcopy surveys because we are very interested in getting your feedback on what we've done so far, and how we can do a better job for you. If you aren't going to PASS, or if you'd rather type than write, you can fill out the survey at
https://live.datstat.com/WSS-Collector/Survey.ashx?Name=SQLSamples.
Yes, this isn't at Microsoft.com but it is our survey and we'd really like your input.
If you are going PASS and you'd like to give us direct feedback in person, we'll be hanging out in the Microsoft Interaction Lounge from 10am - 11:30am, and then in the SQL Lounge from 11:30am to 1pm tomorrow (Wednesday, November 15th).
Thanks!
|
|
|
|