Forum Replies Created

Viewing 15 posts - 1 through 15 (of 23 total)

  • Reply To: Deprecated Features

    I agree with GaryV.  The sys.dm_os_performance_counters view only provides a list of deprecated features and how often they have been used since startup. It just doesn't have much utility.

    Using an...

  • Reply To: Funny code

    This is not only an interesting question but an implementation of an historically significant algorithm. Warning: it is also an extremely poorly behaved pseudo-random number generator.

    The algorithm is the middle-square...

  • Reply To: Representing XML data in SQL Server

    This is a nicely written article. Perhaps more significant than representing xml in SQL Server is generating xml from SQL Server for export. Bloviated opinions about the drawbacks of xml...

  • RE: PRIME NUMBERS

    For minimal change from the existing procedure, I'd do something like this for the final queries:
    if @opt

  • RE: Alternative to a table valued function in SQL Server

    Lynn Pettis - Wednesday, December 6, 2017 2:49 PM

    tbailey 19088 - Wednesday, December 6, 2017 2:41 PM

  • RE: Alternative to a table valued function in SQL Server

    Sandeeppunreddy2 - Wednesday, December 6, 2017 1:30 PM

    Ok will do. but given the problem that we are trying to solve in our...

  • RE: Flat file connection manager

    Have you checked the generated text (for example with a hex editor) to see what the extra characters are? Are they at the beginning or end of the line. Are they...

  • RE: Is it possible to view the partitioning that is set up inside a database ?

    To generate a script for the database, right-click on the database name in SSMS Object Explorer and select "Script database as...".
    To generate scripts for tables, including the partition schemes and...

  • RE: Convert Date to Julian Date

    SQL Server dates can be cast as decimals, with the integer portion as days since 1900-01-01 00:00. The Julian date is also a decimal value of days since a base...

  • RE: How to encrypt SQL data that the DBA is unable to decrypt

    Since SQL Server 2008, SQL server has supported Extensible Key Management in Enterprise editions. This allows SQK encryption keys to be stored in third-party key management solutions, for example...

  • RE: More Unicode

    "Correct" answer and explanation disagree. Small 'a' is NCHAR(97).

  • RE: Renaming

    It appears I was fooling myself. I was connecting remotely from my workstation in SSMS. I had created a (client) alias pointing to the named instance as server. I could...

  • RE: Renaming

    Steve,

    This rename can be done using sp_dropserver and sp_addserver @local='local.

    I tested this on one of my development boxes that had only a single, default-named instance. First, I ran this:

    sp_dropserver '<server>'

    go

    sp_addserver...

  • RE: TDE DR

    Many of the encryption concepts in SQL Server are pretty opaque to me. I thought the certificate was useless without its private key file. But can you create a backup...

  • RE: Snapshots

    The given answer is absolutely incorrect. http://msdn.microsoft.com/en-us/library/ms189281.aspx states explicitly how to revert to a selected snapshot if multiple snapshots exist.

    1. Select the snapshot you wish to restore.

    2. Drop...

Viewing 15 posts - 1 through 15 (of 23 total)