Forum Replies Created

Viewing 15 posts - 5,761 through 5,775 (of 7,164 total)

  • RE: Millisecond error Converting DateTime to Float and Back

    Cool, happy you got it sorted 🙂

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

  • RE: Syncing file system images between two Windows 2008 servers

    Nice, 530,000 files. Robocopy could handle the volume but it most likely does a simple stat on the source and destination files to decide if it needs to replace the...

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

  • RE: Millisecond error Converting DateTime to Float and Back

    Rounding is an intrinsic property of the DATETIME data type and FLOAT is an approximate data type so no guarantees. See "Accuracy" in this article: http://technet.microsoft.com/en-us/library/ms187819.aspx

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

  • RE: File Group backup & restore in SQL Server 2005

    Which FILEGROUP is the PRIMARY?

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

  • RE: GRANT EXECUTE returns 'mssqlsystemresource' does not exist

    aarded (6/29/2011)


    ...

    - I have setup a proxy account for SQLserver Agent, and this works fine.

    ...

    Not a SQL Agent proxy, the xp_CmdShell proxy.

    -- remove proxy

    EXEC sys.sp_xp_cmdshell_proxy_account NULL

    GO

    -- create proxy (shows up...

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

  • RE: Data Export to Excel without using DTS or SISS

    rayh 98086 (6/29/2011)


    Hi,

    Thank you, the export is working.

    Two more questions about the formatting.

    1. Is there a way to have the column names appear as the first row?...

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

  • RE: Listing results in a single column

    SQLkiwi (6/29/2011)


    opc.three (6/28/2011)


    dbo.GROUP_CONCAT(i.OffID) AS offidlist

    Wouldn't that require the sorted variant to be strictly the same as the FOR XML example?

    If sorting were a requirement then the dbo.GROUP_CONCAT_S UDA would be...

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

  • RE: Problems "insert into openquery" with Relativity to COBOL data

    I love it when that happens 🙂

    No need (or way) to mark anything resolved, it's really just banter anyway, right? Happy you got it sorted!

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

  • RE: Problems "insert into openquery" with Relativity to COBOL data

    Gianluca Sartori (6/29/2011)


    opc.three (6/29/2011)


    I'll assume that means that's the actual query...what do we see from this?

    INSERT INTO OPENQUERY(linkedserver, 'select a,b,c from remote_table')

    VALUES ( 10, 20, '30')

    I don't expect it to...

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

  • RE: Numeric datatype result rounding off

    Which data type are you using in Sybase? Which version of Sybase?

    See if you're happier with one of the approximate data types in MS SQL Server:

    select isnull(convert(float,(convert(float,333) / convert(float,nullif(11,0)))),1)

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

  • RE: Problems "insert into openquery" with Relativity to COBOL data

    Peter1971 (6/29/2011)


    This is the original code:

    declare @tekst as nvarchar(1600)

    set @tekst = 'test'

    INSERT into

    openquery(rl_smd01, 'select in_kr_nr, in_record_code, in_kr_key, in_tekst_tabel from info

    ...

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

  • RE: Problems "insert into openquery" with Relativity to COBOL data

    I'll assume that means that's the actual query...what do we see from this?

    INSERT INTO OPENQUERY(linkedserver, 'select a,b,c from remote_table')

    VALUES ( 10, 20, '30')

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

  • RE: Can I set the page size of sql server.

    forsqlserver (6/28/2011)


    Can I set the page size of sql server.

    No.

    Actually we have a database in which only image files get stored.and those images are bigger than the default page size.

    What...

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

  • RE: How to install data mining database?

    Seriously?

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

  • RE: XML Data Type

    k.thanigaivel (6/29/2011)


    thks all, i suggested NVACHAR for xml type values is it ok?

    It depends on what you need to do with the data while it's in the database. Do you...

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

Viewing 15 posts - 5,761 through 5,775 (of 7,164 total)