Archive

Posts Tagged ‘SQL Server’

Top 10 SQL Server 2008 Features for the Database Administrator (DBA)

February 2nd, 2009 No comments
SQLCat has a great post for you DBA’s out there. The top 10 SQL Server 2008 features which help the DBA do their day to day task.
 
Read them all here:
Categories: General Tags:

Save not permitted in SQL Server 2008 – Management Studio

January 28th, 2009 No comments
For those who work with SQL Server 2008, you probably got this message, when trying to change the columns in some tables, add columns or change nullity conditions. “Save is not permitted”… and something like tables have to be dropped and re-created. The only choice you have is to click cancel, or to choose to save the message to a text file.
 
The solution i found today is in SQL Books Online, and it is pretty easy:
Tools -> Options -> Designers, and uncheck the option “Prevent saving changes that require table re-creation”.
Categories: Uncategorized Tags:

PIVOT queries in SQL Server 2005 / 2008

December 31st, 2008 No comments

SQL Server PIVOT operator allows you to rotate row level data into tabular data without the use of the CASE statement. With the PIVOT operator in SQL Server, the CASE statement and GROUP BY statements are no longer necessary. (Every PIVOT query involves an aggregation of some type, so you can omit the GROUP BY statement.) The PIVOT operator provides the same functionality that we tried to achieve with the CASE statement query, but you can achieve it through less code, and it is a bit more pleasing on your eyes.

Small sample with case:

SELECT      CAST(YEAR(SaleDate) AS VARCHAR(4)) AS SaleDate,      SUM(CASE WHEN Product = 'BigScreen' THEN SalePrice END) AS BigScreen,       SUM(CASE WHEN Product = 'PoolTable' THEN SalePrice END) AS PoolTable,       SUM(CASE WHEN Product = 'Computer' THEN SalePrice END) AS Computer       FROM       SalesHistory
GROUP BY       CAST(YEAR(SaleDate) AS VARCHAR(4))

 

Same result with the PIVOT operator

SELECT       SaleDate, BigScreen, PoolTable, ComputerFROM(      SELECT CAST(YEAR(SaleDate) AS VARCHAR(4)) AS SaleDate, SalePrice, 
      Product FROM SalesHistory ) AS rfPIVOT(        SUM(SalePrice) FOR Product IN(BigScreen, PoolTable, Computer) ) AS p

Very nice to use in an ETL process.

From http://articles.techrepublic.com.com/5100-10878_11-6143761.html

Categories: Uncategorized Tags:

Cumulative update package 1 for SQL Server 2008

September 24th, 2008 No comments
Categories: Uncategorized Tags:

SQL Server 2008 Hits the Market!

August 7th, 2008 No comments

REDMOND, Wash. — Aug. 6, 2008 — Microsoft Corp. today announced the release to manufacturing of Microsoft SQL Server 2008, the new version of the company’s acclaimed data management and business intelligence platform. This version of SQL Server provides powerful new capabilities such as support for policy-based management, auditing, large-scale data warehousing, geospatial data, and advanced reporting and analysis services. SQL Server 2008 provides the trusted, productive and intelligent platform necessary for business-critical applications.

“Microsoft developed this release of SQL Server with the customer in mind,” said Ted Kummert, corporate vice president of the Data and Storage Platform Division at Microsoft. “SQL Server 2008 is the only major database that includes comprehensive, tightly integrated functionality for data management as well as advanced business intelligence out of the box. By offering a complete solution, we save customers time and money and allow them to focus on deriving the most value from their data assets.”

More info see:
http://www.microsoft.com/presspass/press/2008/aug08/08-06SQLServer2008PR.mspx

http://blogs.msdn.com/bi/archive/2008/08/06/sql-server-2008-hits-the-market.aspx

 

Categories: Uncategorized Tags:

SQL Server 2008 Available on August Price List

July 10th, 2008 No comments
Courtesy to Francois Ajenstat, Director of Product Management for Microsoft SQL Server, we know that SQL Server 2008 is on the August price list. What this probably means according to my interpretation is that the SQL Server 2008 RTM date is close. More than likely, SQL Server 2008 will be released in August.
Categories: Uncategorized Tags:

SQL Server 2008 Release Candidate 0 (RC0)

June 9th, 2008 No comments
Microsoft declared build #1442.32 to be the official SQL 2008 RC0 build. For now, the RC0 public build of SQL Server 2008  has been made available for early download by MSDN and TechNet Plus subscribers. RC0 is the final step before SQL Server 2008 RTMs in Q3 of this year. After logging into their respective accounts, subscribers can view Product Keys and download SQL Server 2008 RC0 from the following links:

MSDN subscribers: Download SQL Server 2008 RC0

TechNet Plus subscribers: Download SQL Server 2008 RC0 .

 Key SSRS improvements in this build:

  1. Rich text formatting. You can now format the text inside a textbox with different styles.
  2. Report Wizard to let the user auto-generate the report definition.
  3. Fully functional MDX Query Designer.
  4. An updated build of the Report Builder 2.0 (aka Report Designer Preview) will be available via a web download. The URL link is not known at this point.
Categories: Uncategorized Tags:

Future reporting with Dundas (SQL Server 2008)

March 14th, 2008 No comments
In SQL Server 2008 Micrsoft starts with the integration of the newly acquired Dundas in Reporting Server. I decided to take a look at their website and it looks really great. You can create reports like:
 
Click here for a great live sample. It looks really great, i hope they integrated all the dundas products in SQL 2008. I know some of them are in the CTP.