Forum Replies Created

Viewing 15 posts - 481 through 495 (of 582 total)

  • RE: Binary Data Conversion

    good to hear it helps. But keep in mind that the code I provided will only convert 0-9 from MCS to decimal and will only show results for up to...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Subtracting one field from another

    since it is an INT datatype a direct conversion is not possible be sql server does a conversion from into to datetime as the value of days since 1900-01-01.

    --today's date...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Subtracting one field from another

    First of all what data type is START. varchar, int, datetime? It will depend on the answer.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Subtracting one field from another

    You shouldnot need to convert the value to smalldatetme if the format is yyyymmdd. sql server will recognize that string as a date.

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Update using FROM and SUM: Need to calculate percentage

    What a see from brief glance is that you are trying to update a column that doesn't exist. p_top is not a column in #t_q table. Loginname is not...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: SSL option

    Here is an article on how to enable SSL encryption on SQL server

    http://support.microsoft.com/kb/316898

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Binary Data Conversion

    this probably isn't the most elegant of solutions and without any test data or table structures i came up with what could be a starting point for you. I did...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: How to create ER diagram?

    A simple google search may get you the information you want or at least the information to form a specific question.

    http://www.google.ca/search?q=er+diagram&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Disk Queue Length Problems

    Can you post execution plan of the query? I would assume that since you use date as criteria for your query but do not have an index on that column,...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: dbcc updateusage(0),sp_updatestats "urgent"

    Books online is your friend

    http://msdn.microsoft.com/en-us/library/ms130214.aspx

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Can you Convert/Cast SID to String???

    don't know if this will work for you but...

    exec xp_cmdshell 'bcp "select sid from master.sys.syslogins" queryout c:\bcpout.txt -T -c';

    go

    create table sidtemp([sid] varchar(255));

    go

    exec xp_cmdshell 'bcp master.dbo.sidtemp in c:\bcpout.txt -T -c';

    go

    select *...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Can you Convert/Cast SID to String???

    I assume the single location will be a database so why the need to convert the value to a string? Why not just leave it as varbinary?

    I only ask this...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Can you Convert/Cast SID to String???

    perhaps this will help. It is quite what you are looking for but may be of value.

    http://www.sqlservercentral.com/scripts/SID/62274/%5B/url%5D

    I must ask, what would you need the actual sid value for?

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Cannot attach a database in STANDBY mode

    following the steps below should allow you to attach your database but may not be sufficient for what you need it for as there may be data loss.

    1) create new...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

  • RE: Help on purging old records

    Please look at this article on how to post data to get the best help. The more effort you put into forming a question, the more people will be willing...

    Bob
    -----------------------------------------------------------------------------
    How to post to get the best help[/url]

Viewing 15 posts - 481 through 495 (of 582 total)