Join | Login | Why Join?   
SQL Server, Oracle, DB2, Sybase, MySQL Help - SSWUG.ORG HACKER SAFE certified sites prevent over 99.9% of hacker crime.
Search SSWUG:   
 
Access to 531 free guest articles, discussions and more, just create your free SSWUG User ID:
Email address:  
This will be your login ID - we'll email you your password - you'll even receive the newsletter, opt-out at any time.
Available to Members = Members-Only     Available to Registered Guests = Registered Guests

Free articles for registered guests

[Oracle]  [SQL Server]  [XML]  [Home]

These articles are always free for members, but are currently available to registered guests as well. This list of articles changes daily.

Discuss | See Current Member Articles


Register for FREE Access to These Articles.

When you register, you can choose to be a registered guest and have access to these articles, or you can become a dues-paying member, with a great-many benefits, and get full access to everything on SSWUG and many other benefits.


Available to MembersAvailable to Registered GuestsXML data type in SQL Server 2005 vs. VARCHAR (MAX) - (Michelle Gutzait) As a database administrator, I tend to look closely at performance issues and how to make sure the use of XML does not affect SQL Server performance. In this tip, I'll take you... [more]

Available to MembersAvailable to Registered GuestsBuilding Custom Reporting Services Reports for SQL Server Management Studio - (Gregory A. Larsen) When Microsoft released Service Pack 2 (SP2) for SQL Server 2005, they added a new feature called Custom Reports. This new feature allows you to build Reporting Services repor... [more]

Available to MembersAvailable to Registered GuestsSearch Engine Q&A #10: Rebuilding Indexes and Updating Statistics  - (Paul S. Randal) It seems like all I've been talking about on the forums the last couple of days is the correct order of operations in a maintenance plan. The biggest confusion seems to be about ... [more]

Available to MembersAvailable to Registered GuestsAdding simple trigger-based auditing to your SQL Server database - (John Galloway) How do you track changes to data in your database? There are a variety of supported auditing methods for SQL Server, including comprehensive C2 security auditing, but what do you ... [more]

Available to MembersAvailable to Registered GuestsThe Baker's Dozen: 13 Comparisons Between Crystal Reports and SQL Server Reporting Services - (Kevin S. Goff) Recent polls show that nearly fifty percent of applications with reporting functionality use Crystal Reports, and about twenty percent use SQL Server Reporting Services. That popu... [more]

Available to MembersAvailable to Registered GuestsUsing PowerShell and SQL Server Together  - (Allen White) I've mentioned before my company manages trade shows, and we've got a series of web sites managed by an application which uses a different SQL Server database for each site, with a ... [more]

Available to MembersAvailable to Registered GuestsDetermining SET Options for Current Session - With each session that is made to SQL Server the user can configure the options that are SET for that session and therefore affect the outcome of how queries are executed and the underlying behav... [more]

Available to MembersAvailable to Registered GuestsRun The Same SQL Command Against All Databases - (Tim Ford) There are times when I find myself needing to run a SQL command against each database on one of my SQL Server instances. There is a handy undocumented stored procedure that allows you ... [more]

Available to MembersAvailable to Registered GuestsHow secure is your SQL Server network design? - (Kevin Beaver) No matter how you've hardened your SQL Server systems, a weak network design can still undermine the best of database security controls. It's easy to assume that all's well inside ... [more]

Available to MembersAvailable to Registered GuestsSQL Server 2008 Spatial - What shape is a square? - (Simon Sabin) You think this an odd title, a square is a square. Well whilst that is the case in a planar 2D world in a 3 spatial world where the square is drawn on a sphere.

Available to MembersAvailable to Registered GuestsSQL Server 2005 - Backup, Integrity Check and Index Optimization  - (Ola Hallengren) I have made a solution for backup, integrity check and index optimization in SQL Server 2005. The solution is based on stored procedures, functions, sqlcmd and SQL Server Agent j... [more]

Available to MembersAvailable to Registered GuestsStoring Images and BLOB files in SQL Server - (Don Schlichting) This article explores the data types and methods used for storing BLOBs (Binary Large Objects), such as images and sounds, inside SQL Server. Legacy data types used in SQL Serve... [more]

Available to MembersAvailable to Registered GuestsBlack box trace in SQL Server 2000 and Default Trace in 2005 - SQL Server 2000 used to have a black box trace which could be used to diagnose and troubleshoot issues with SQL Server. The name probably stems from the flight data recording black box. It was ty... [more]

Available to MembersAvailable to Registered GuestsSSIS Design Pattern - ETL Instrumentation, Part 4  - (Andy Leonard) In Part 4, we continue instrumenting by adding yet another ETL process and again scaling our measurement capabilities.

Available to MembersAvailable to Registered GuestsIntroduction to SQL Server 2005 Database Backups - (Mladen Prajdiæ) Backing up a database is one of the most important things you need to do when having a database driven application. It 's only all of your data in there, right? But often develop... [more]

Available to MembersAvailable to Registered GuestsAll About SQL Functions  - (James Payne) In the last tutorial we left off with the SUM(column) function. In this article we will cover the remaining Aggregate Functions and the Scalar Functions. We might even make some fat... [more]

Available to MembersAvailable to Registered GuestsHow to construct and use SQL OUTER JOINs optimally  - Learn the basics of a SQL Server OUTER JOIN in this excerpt from "SQL Queries for Mere Mortals: A Hands-On Guide to Data Manipulation in SQL, Second Edition." You'll discover how to construct LEF... [more]

Available to MembersAvailable to Registered GuestsSQL Server encryption vs. hashing for data security - (Denny Cherry) Choosing between ata encryption and data hashing is a fairly new concept for the SQL Server database administrator and developer. Yet, network and software engineers have been deal... [more]

Available to MembersAvailable to Registered GuestsOwner/schema qualifying object names  - (Tibor Karaszi) It isn't easy to remember all the details regarding object/schema qualifying object names. There are many variables involved, such as: --Version of SQL Server --Qualifying th... [more]

Available to MembersAvailable to Registered GuestsUsing the DATE data type in SQL Server 2008 - (Bill Graziano) In SQL Server 2008 we get a new DATE date type that allows you to store a date without a time.

Available to MembersAvailable to Registered GuestsChanging the owner of a database  - (Louis Davidson) Tonight, as I was creating my sample database for my chapter on implementing the database, I learned something new, that existed in 2005. I had always used sp_changedbowner to c... [more]

Available to MembersAvailable to Registered GuestsTricks to increase SQL Server query performance - (Denny Cherry) Thanks to the natural language roots of the SQL language, writing queries has become extremely easy for just about anyone to pick up. But its simplicity also makes it easy to write... [more]

Available to MembersAvailable to Registered GuestsSQL Server 2008 New DATETIME DataTypes - (Dinesh Asanka) SQL Server 2008 has arrived - not fully, but as a CTP version. Whenever you hear about new software, the first and most obvious question is “What are the new features?”. There ar... [more]

Available to MembersAvailable to Registered GuestsGenerate date dimension that support working days calculation - (Marco Russo) I just wrote a T-SQL query based on CTE that generates support information to calculate working days in a period. Simply look at the WorkingDaySequential measure, which difference b... [more]

Available to MembersAvailable to Registered GuestsSqlCredit – Part 11: Change Tracking Using History Records - (Rob Garrison) Change tracking is an important requirement of most OLTP systems. If the PrimaryCardHolder on an account was updated, you should be able to tell who made the change, when they made... [more]

Available to MembersAvailable to Registered GuestsSQL Server Indexes: The Basics - (Kathi Kellenberger) Indexes directly affect the performance of database applications. This article uses analogies to describe how indexes work. The estimated execution plan feature of the Query ... [more]

Available to MembersAvailable to Registered GuestsRS HowTo : Pass a multivalue parameter to a query using IN - (Simon Sabin) One of the most common requests I've seen when people write queries for applications is to be able to pass a delimited list of values and use it in an IN clause.

Available to MembersAvailable to Registered GuestsUNIQUE Column with multiple NULL values - (Muthusamy Anantha Kumar) As you know, when you create a UNIQUE constraint on a nullable column, SQL Server allows only one NULL value, thereby maintaining the UNIQUEness. However, there are situ... [more]

Available to MembersAvailable to Registered GuestsMicrosoft Windows PowerShell and SQL Server 2005 WMI Providers – Part 1 - (Yan Pan) Windows Management Instrumentation (WMI) is Microsoft’s primary technology for managing Windows systems. WMI allows system components on Windows-based operating systems to be monitored ... [more]

Available to MembersAvailable to Registered GuestsMERGE command in SQL Server 2008 - MERGE command (also known as UPSERT in Oracle circles) is nothing new to Oracle. It has existed since quite some time. We have also blogged about it on our site - including the enhancements to th... [more]

Available to MembersAvailable to Registered GuestsDistributed databases in SQL Server 2005 - (John Charles Olamendy) An increasing number of applications require access to multiple databases located at different sites, perhaps widely separated geographically.

Available to MembersAvailable to Registered GuestsSSIS Design Pattern - ETL Instrumentation, Part 3  - (Andy Leonard) In Part 3, we start using the ETL Instrumentation infrastructure we've built to measure some actual ETL. We now have the concepts - it's time to put them to work!

Available to MembersAvailable to Registered GuestsChange Data Capture Feature in SQL Server 2008 - We have been blogging for quite some time now on the new feature sets of the upcoming release of SQL Server - SQL Server 2008. You can search for SQL Server 2008 on this blog and get to those pos... [more]

Available to MembersAvailable to Registered GuestsThe DBA's Toolbox (Part 1) - (Buck Woody) This guide, and indeed the entire InformIT.com site, is designed to help you succeed as a Database Technology Professional. I've got hundreds of articles here on concepts, processes ... [more]

Available to MembersAvailable to Registered GuestsSQL Server Reporting Services: Getting Started - (Vikas Goyal) The main participants in the SSRS ecosystem are: --End Users: Users who are interested in generated reports --Administrators: Users responsible for maintaining the SSRS service... [more]

Available to MembersAvailable to Registered GuestsSQL Server 2005 Bug Alert: Merge Replication Could Mean Data Loss - (Lizet Pena de Sola) With the proliferation of mobile devices such as BlackBerrys, Tablet PCs, and regular laptops, some critical applications need to store a cache of their data locally at all t... [more]

Available to MembersAvailable to Registered GuestsBring Array Mapping Capabilities to SQL - (Michael Sorens) SQL has been evolving—slowly—for over three decades, (see Wikipedia for a historical summary). While SQL in the hands of an expert is quite powerful, it's sometimes cumbersome co... [more]

Available to MembersAvailable to Registered GuestsYou cannot rebuild system databases if you run the Setup command from a location that is not the original installation location of SQL Server 2005 - When you run the Setup command from a location that is not the location from which you originally installed an instance of Microsoft SQL Server 2005, you cannot rebuild system databases.

Available to MembersAvailable to Registered GuestsViewing Partition Slice Information - (Chris Webb) The other week I discovered that it was possible to view the partition slice information discussed here using the DISCOVER_PARTITION_DIMENSION_STAT schema rowset. I've always thought... [more]

Available to MembersAvailable to Registered GuestsHow to Build a Profile Script to Monitor SQL Server off Hours - (Gregory A. Larsen) SQL Server Profiler is a valuable tool for monitoring activity against your SQL Server environment. With this tool, you can monitor numerous events depending on what kind of p... [more]

Available to MembersAvailable to Registered GuestsSuccessful Backup Messages No More...  - (Andrew Kelly) How many times have you asked for a way to turn off the behavior in SQL Server that logs successful backup messages to the SQL Server Logs and to the Windows Application Event Logs... [more]

Available to MembersAvailable to Registered GuestsSnapshot Reports I: Report Manager Perspective - (William Pearson) In the previous articles of this subseries, Black Belt Administration: Caching Options: Report Session Caching, and Report Execution Caching parts I and II, we discussed the fac... [more]

Available to MembersAvailable to Registered GuestsCreating Custom Reports for SSMS - (Greg Larsen) With the release of SQL Server 2005 SP2, Microsoft added a new feature to SQL Server called “Custom Reports”. ). These RDL files are rendered as tabbed documents within SSMS. Report... [more]

Available to MembersAvailable to Registered GuestsThe Baker's Dozen: 13 Productivity Tips for Transact-SQL 2005 - (Kevin S. Goff) Microsoft implemented many new features in SQL Server 2005, including an impressive set of language enhancements. From new language statements for SQL-99 compatibility to new feat... [more]

Available to MembersAvailable to Registered GuestsLogon Triggers - (Cristian Lefter) When I asked a friend from the SQL Server development team "what's the story behind Logon Triggers?" the answer was brief "Common Criteria compliance for SQL Server and nothing ... [more]

Available to MembersAvailable to Registered GuestsPartitioning a SQL Server Database Table - (Mike Chapple) Looking to optimize the performance of your SQL Server database? If your database contains very large tables, you may benefit from partitioning those tables onto separate filegroup... [more]

Available to MembersAvailable to Registered GuestsStatistical Indexes - (Buck Woody) SQL Server 2000 and 2005 both use a "cost-based" optimizer to quickly locate data in its databases. I've mentioned the Query Processor in another tutorial, and in this tutorial I'll ... [more]

Available to MembersAvailable to Registered GuestsService Broker Advanced Basics Workbench - (Adam Machanic) In the first part of this workbench series, we covered the foundations: Setting up message types, contracts, queues, and services, and sending and waiting for messages. This secon... [more]

Available to MembersAvailable to Registered GuestsConverting Access Queries to SQL Server - (Danny Lesandrini) In last month's article, I introduced a Microsoft Access Add-In I created some years ago, which I affectionately call the DataFast Utility. It includes a number of analysis too... [more]

Available to MembersAvailable to Registered GuestsThe GO command in SQL Server - The GO command in SQL Server is not a T-SQL command. It is a command that is recognized by the SQL Server utilities like osql or sqlcmd or the editors - Query Analyzer or SSMS. This just signal... [more]

Available to MembersAvailable to Registered GuestsDid You Know? What's a $ Worth?  - (Kalen Delaney) No, I'm not talking about US dollars, which are not worth much at all these days. I'm talking about the $ used in a particular construct in SQL Server 2005 to get information abou... [more]

Available to MembersAvailable to Registered GuestsUnderstanding the Difference between Owners and Schemas in SQL Server - (Kathi Kellenberger) SQL Server 2005 introduces the concept of schemas as opposed to object owners found in previous versions. This article will explain the differences between the two and, hopef... [more]

Available to MembersAvailable to Registered GuestsDocumenting a Microsoft SQL Server database - This article describes how to document your Microsoft SQL Server database. The principles are similar for all versions of SQL Server, although SQL Server 2005 and above contain a number of neat e... [more]

Available to MembersAvailable to Registered GuestsGeek City: Detecting Overflowing Columns  - (Kalen Delaney) SQL Server 2005 allows rows to include variable length columns which do not actually fit in the maximum row size of 8060 bytes. I previously posted about row-overflow columns, and... [more]

Available to MembersAvailable to Registered GuestsLittle gems in SQL Server 2005 - (Tim Golden) I know it’s clear I don’t have all that much time for the “innovations” in SQL Server 2005, but there are two syntax additions which I’ve been yearning for for years. (Since I moved ... [more]

Available to MembersAvailable to Registered GuestsPerformance Impact: The Potential Cost of Read_Committed_Snapshot  - (Linchi Shea) In response to my previous blog post--Performance Impact: Setting a Database to Read Only, Shailesh Khanal mentioned that he observed significant performance degradation from READ C... [more]

Available to MembersAvailable to Registered Guestssys.dm_exec_sql_text  - (Louis Davidson) This dynamic management object returns the SQL that was saved when a query was executed. This is a very exciting and useful thing to have, as there are dynamic management views t... [more]

Available to MembersAvailable to Registered GuestsMicrosoft Windows PowerShell and SQL Server 2005 SMO – Part 9 - (Muthusamy Anantha Kumar) This installment of the series illustrates how to use PowerShell in conjunction with SMO to Generate an SQL Server Script. Generating SQL Server Scripts is an essential ... [more]

Available to MembersAvailable to Registered GuestsDefaultMember, subcubes and non-aggregatable attributes  - (Marco Russo) Today I discovered that DefaultMember might result in a member other thant the default dimension member.

Available to MembersAvailable to Registered GuestsPerformance Impact: Setting a Database to Read Only  - (Linchi Shea) It is widely quoted that if a SQL Server database is set to Read Only (using ALTER DATABASE ... SET READ_ONLY), your queries may run faster because no locking occurs in a read-only ... [more]

Available to MembersAvailable to Registered GuestsDatabase backup: insufficient resources for cache withdrawal - (Brian Donahue) Sometimes SQL Server can pose conundrums of such complexity that even the Riddler couldn't conceive of. In my mind's eye, a SQL Server is in fact its' own operating system, runnin... [more]

Available to MembersAvailable to Registered GuestsEnhance Your Web Apps with T-SQL Tricks - (Andrew Bonslater) With all of the new functionality that's been released with T-SQL for SQL Server 2005, you now have more options that make performing complex tasks very simple with very few li... [more]

Available to MembersAvailable to Registered GuestsSimplify SQL Server replication - (Michelle Gutzait) Have your replication design practices gotten out of hand? You can simplify SQL Server replication management and monitoring by reducing the number of publications and subscrib... [more]

Available to MembersAvailable to Registered GuestsSQL Server 2008 and end user ad hoc reporting  - (Andrew Fryer) In my opinion the weak link in reporting services is that there is no tool for information workers to design their own reports and so IT professioanls have to spend a lot of time d... [more]

Available to MembersAvailable to Registered GuestsMicrosoft's Lineup of SQL Server Related Webcasts for October 2007 - Five new webcasts are scheduled for October, covering such topics as "Advanced Manageability for SQL Server 2008 Analysis Services", "Tuesday Teasers Webcast Series - SQL Server 2008" and more.

Available to MembersAvailable to Registered GuestsSQL Server 2005 Express Edition - Part 7 - Post Installation Configuration Tasks (Management) - (Marcin Policht) In the most recent articles of our series dedicated to SQL Server 2005 Express Edition, we have been discussing a number of tasks that modify default settings applied during stan... [more]

Available to MembersAvailable to Registered GuestsMigrating Access Apps to SQL Server - (Danny Lesandrini) Back in 2000 (remember Y2K?), Marc Israel started a series of Access articles on the theme: Migrate to SQL Server. Marc suggested several titles for the series but some of them... [more]

Available to MembersAvailable to Registered GuestsMicrosoft Windows PowerShell and SQL Server 2005 SMO – Part 8 - (Muthusamy Anantha Kumar) This installment illustrates how to use PowerShell in conjunction with SMO to display object properties of all SQL Server Objects.

Available to MembersAvailable to Registered GuestsManaging permissions in SQL Server Reporting Services - (Eric Johnson) SQL Server Reporting Services (SSRS) is an extremely handy tool in the SQL Server 2005 suite. You can use it to easily create, deploy and manage reports for your entire organizatio... [more]

Available to MembersAvailable to Registered GuestsAlternatively Sorting Attribute Members in Analysis Services 2005 - (William Pearson) While it is quite common to sort the attribute members of our Analysis Services 2005 cubes based upon either their name or key values (perhaps even a composite member key), many... [more]

Available to MembersAvailable to Registered GuestsWhat’s new in SQL 2008 Part 2 - (Don Schlichting) This article will highlight some of the new features and benefits found in SQL Server 2008. Some of the new features include Development changes, new Business Intelligence featu... [more]

Available to MembersAvailable to Registered GuestsInformation Schema and SQL Server 2005 - (Uday Denduluri) Information Schema is the part of the SQL-92 standard which exposes the metadata of the database. In SQL server a set of views are created in each of the database which exposes t... [more]

Available to MembersAvailable to Registered GuestsHow to get the name of the day of date - (Simon Sabin) Do you have a date and you want the day of the week but not the number but the name i.e. Monday, Tuesday etc. Well there are two functions that you can use with dates that can be us... [more]

Available to MembersAvailable to Registered GuestsSQL Server 2005 Express: Beyond the basics - (Serdar Yegulalp) In my previous article about SQL Server 2005 Express Edition, I talked a bit about what the Express Edition was designed to address and how it eclipsed the SQL Server Desktop En... [more]

Available to MembersAvailable to Registered GuestsHow do I… Configure transactional replication between two SQL Server 2005 systems? - (Joshua Hoskins) Replication often plays an important part in your database management strategy. An organization may use database replication for load balancing, offline processing, redundancy, a... [more]

Available to MembersAvailable to Registered GuestsWhat is your SQL Server backup strategy? - (Steven Warren) Most database administrators (DBAs) know what it’s like to be called away from home or dinner or even awakened in the middle of the night to answer a page or a cell-phone call con... [more]

Available to MembersAvailable to Registered GuestsThe 'SQL Server:SSIS Pipeline' performance object does not appear in the 'Performance object' list after you install Integration Services from a 64-bit version of SQL Server 2005 - Consider the following scenario. You install Microsoft SQL Server 2005 Integration Services from a 64-bit version of Microsoft SQL Server 2005. In System Monitor, you try to add the SQL Server:SS... [more]

Available to MembersAvailable to Registered GuestsSqlCredit Part 8: Comparing Encrypt/DecryptByCert and Encrypt/DecryptByKey - (Rob Garrison) In part 7, we found that the performance impact of using EncryptByCert and DecryptByCert was unacceptable for any high-volume, transactional data.

Available to MembersAvailable to Registered GuestsWhat is the position of a row? - (Simon Sabin) The simple answer is there isn't one.

Available to MembersAvailable to Registered GuestsClose those Loopholes - Testing Stored Procedures  - (Alex Kuznetsov and Alex Styler) In the previous article, Close those Loopholes in your Database Testing, I was discussing database testing in general. In this article Alex Styler and I will conc... [more]

Available to MembersAvailable to Registered GuestsManaging SQL Server 2005 Master Keys for Encryption - (Tim Cullen) I recently accepted the challenge of designing a database for an employee application, and the first thought to cross my mind was," I will need to encrypt at least one piece of data"... [more]

Available to MembersAvailable to Registered GuestsWhy restore a full SQL database vs. a failed filegroup? - (Serdar Yegulalp) Both SQL Server 2000 and SQL Server 2005 allow you to restore whole databases and to selectively restore individual files or filegroups. This is useful if one particular file or... [more]

Available to MembersAvailable to Registered GuestsReporting Services Crib Sheet  - (Robyn Page and Phil Factor) SQL Server Reporting Services (SSRS) aims to provide a more intuitive way of viewing data. It allows business users to create, adapt and share reports based on an abs... [more]

Available to MembersAvailable to Registered GuestsHow to Insert Values into an Identity Column in SQL Server - (Bill Graziano) Identity columns are commonly used as primary keys in database tables. These columns automatically assign a value for each new row inserted. But what if you want to insert your ... [more]


   



 

[ Register ] [ Webcasts ] [ Podcasts ] [ Newsletter Archive ] [ RSS/Feeds ]
[ About ] [ Advertise ] [ Contact ] [ Privacy ] [ Terms of Service ]
[ Link to SSWUG ] [ List Server Archives ] [ Recent Orig. Content ]
(c) 1997-2008, Bits on the Wire, Inc.  (0)

Some names and products covered by SSWUG are the registered trademarks of their respective owners.
DAA10354WWW004