Forum Replies Created

Viewing 15 posts - 18,631 through 18,645 (of 49,552 total)

  • RE: create defferent table for login

    visjaaah (5/6/2012)


    as far as i can see, unique only applies to nullable columns.

    Not at all. A unique constraint can be applied to any column, regardless whether it's nullable or...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: create defferent table for login

    Dave Brooking (5/6/2012)


    I think I was talking about obfuscation rather than encryption.

    I certainly wasn't suggesting obfuscating passwords, that's worthless. I'm recommending the use of cryptographic hashes. http://en.wikipedia.org/wiki/Cryptographic_hash_function

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: create defferent table for login

    Dave Brooking (5/6/2012)


    I did gasp when I read "Passwords shouldn't be encrypted". However, I needn't have, what I think Gail was saying is that passwords must never be stored in...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: DBCC CHECKDB execution....

    See my first reply...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Production Issues..need help

    Sapen (5/6/2012)


    What was happening was some of the backup files were being moved to an external hard drive around the same time and this has caused high IO.

    File copies require...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: DBCC CHECKDB execution....

    You absolutely MUST run CheckDB on all databases on a regular basis. If you don't, how will you know if the database gets corrupt?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: create defferent table for login

    vahid.arr (4/24/2012)


    i have userid pk and i want also make username and password field uniqe.how can i do that?

    Requiring passwords be unique is a mistake. It means that a person...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: create defferent table for login

    S_Kumar_S (4/24/2012)


    It's advisable to have passwords encrypted rather than storing them as it is...

    Passwords shouldn't be encrypted, because there is no need to ever decrypt them. They should be stored...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Overall sql memory consumption

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic1295646-1550-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Help with UDFs

    vinu512 (5/5/2012)


    What you are implying when you say C, C++ code that is a CLR Function

    Well, not quite. C++ is used for extended procedures (for anyone that brave). CLR procedures/functions/etc...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Help with UDFs

    User defined functions are written in T-SQL, definitely not in C or C++.

    In Books Online (or the MSDN documentation), look up CREATE FUNCTION.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Attaching a DB with multiple LDF files missing

    dkschill (5/4/2012)


    This may be a ridiculous question, but would a full recovery database have more dependency on its log file? Making it more difficult to successfully restore the data...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: logfile use

    Please read through this: http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    Probably what happened is that the SSIS package filled the log, failed and rolled back, then something partially cleared the log (or grew it), so by...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: what does 'type' in syscolumns correspond to ?

    Don't use syscolumns, it's been deprecated for 7 or so years now, it's only in the product for backward compat with SQL 2000 and there are much better schema views.

    Use...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Throwing error while restoring msdb database.

    sumit.tembhare (5/4/2012)


    :w00t:

    Use Sp_Who2 and kill that processes which is using MSDB database.

    SQL processes using the MSDB database would not give the error "The process cannot access the file because...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 18,631 through 18,645 (of 49,552 total)