Forum Replies Created

Viewing 15 posts - 4,006 through 4,020 (of 7,164 total)

  • RE: What is best practice for Website authentication

    eccentricDBA (5/17/2012)


    opc.three (5/17/2012)


    Hawkeye_DBA (5/17/2012)


    Hello SQL Server Central friends,

    I am assisting our web developer in setting up a standard for connecting to internal database servers from both inside and outside of...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Log Shipping - Index Maintenance

    derekr 43208 (5/17/2012)


    opc.three (5/17/2012)


    anthony.green (5/17/2012)


    No, as an index rebuild is a fully logged operation so it logs the same amount in Full or Bulk-Logged so there is no difference

    Slight tweak...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Indexes and satistics help

    twdavis-893252 (5/17/2012)


    Thanks do you use this how long does it take to run(how many tables do you run it on) and do you run it while users on on the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Log Shipping - Index Maintenance

    anthony.green (5/17/2012)


    No, as an index rebuild is a fully logged operation so it logs the same amount in Full or Bulk-Logged so there is no difference

    Slight tweak here. The index...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Log Shipping - Index Maintenance

    derekr 43208 (5/17/2012)


    anthony.green (5/17/2012)


    secondary server is generally in norecovery mode so no users, so no load on the database so can usually do things quicker as its not serving user...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: SET or SELECT to assign a default value to a nullable variable

    Alexeins (5/17/2012)


    The only problem with this is when ColumnRef = 1000 doesn't exists, because variable still being NULL.

    Did you already know the answer before you posted?

    You initially asked about the...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: What is best practice for Website authentication

    I almost forgot, if you end up relying on NTLM make sure your OS is patched. Security holes in pass-through auth (leverages NTLM) existed until recently:

    Microsoft Security Bulletin MS10-012 -...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: What is best practice for Website authentication

    Hawkeye_DBA (5/17/2012)


    Hello SQL Server Central friends,

    I am assisting our web developer in setting up a standard for connecting to internal database servers from both inside and outside of the DMZ.

    Currently...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Indexes and satistics help

    A good system for index and stats maintenance:

    SQL Server Index and Statistics Maintenance - Ola Hallengren

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Vbscript SQL and fOREFRONT TMG Help !!

    Seriously...get this person some PowerShell 😎

    Add-Type -AssemblyName “Microsoft.SqlServer.Smo”

    ##################################################################

    # initialize variables

    $instanceName = "myserver\myinstancename"

    $databaseName = "mydatabase"

    $login = "testlogin" # leave blank to use Windows Authentication

    $password = "password"

    $sql = "delete FROM WebProxyLog WHERE...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: How to validate text file data using bulk insert

    How many validations, just missing unit_number? You might be able to set the column to NOT NULL and have BULK INSERT ignore errors.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Hash Partitioning

    Pick a column in your table and create a persisted computed column off it using the HASHBYTES function:

    ALTER TABLE dbo.[TableName]

    ADD [HashedColumnName] AS CAST(HASHBYTES('MD5',CAST([ExistingColumnName] AS VARCHAR(40))) AS VARBINARY(40))

    PERSISTED -- important,...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Audit Trail Generator

    XML is a great way to genericize a payload in this instance since it will vary from one table to the next. Logging all DML operations to a single table...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Issue: Index creation is not running in parallel

    I did not have time to test it, i may later today, but I am referring to Kristian's post as to why I am thinking it pertains to index operations...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • RE: Issue: Index creation is not running in parallel

    ChrisM@Work (5/17/2012)


    Interesting. Here's the section I quoted above. Note that it's specific to indexing operations.

    I can see where you would go there for indexes though you swept queries into your...

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

Viewing 15 posts - 4,006 through 4,020 (of 7,164 total)