I often do the following when administering databases "select * from Table where PrimaryKey=value" and find the output in Query Analyzer is inconvenient to view when the table has many wide columns (which is often the case). This script returns a single entry from a table but "transposed" so that the data flows down the page not accross it. I know this sounds trivial, but it's convenient, so I thought I'd share it.
(Note: T-SQL doesn't support arrays, as far as I'm aware, so the code is a little ugly.)
Creating a PDF from a Stored Procedure in SQL Server
A short but interesting article, the author has figured out a way to create a PDF from a stored procedure without using a third party library.
2019-09-20 (first published: 2003-08-26)
72,960 reads