SQL Command error

  • Hi SQL,

    I have issue when sql command

    content for bat file

    @ECHO OFF

    echo Executing the SQL Script...

    set fileName=D:\PurchaseItemExport\PurchaseItem_201207

    sqlcmd -Q "Exec DBName.dbo.StoreName" -o %fileName%.csv -h-1 -s"|" -W

    Result:

    Result file have data but end of file error

    Sqlcmd: Error: Internal error at GetDataRowset (Reason: Not enough storage is available to complete this operation).

    Sqlcmd: Error: Internal error at FormatRowset (Reason: Not enough storage is available to complete this operation).

    help me

    thanks,

    phuongnh

  • Is there enough disk space where the csv file is getting created? That would be the obvious cause of this error message...

  • not enough disk space, because HDD more 10GB

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply