Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • RE: What does FN mean?

    is FN a synonym for datepart???

  • RE: how to save a blob to harddisk?

    its a one-off operation as the case maybe for testing;

    so i prefer a solution in the managent studio;

    i wrote an c# program that gives me the result, too.

    but as mentioned...

  • RE: how to save a blob to harddisk?

    yes, it is a ms word document

    i tried it with a jpg and it works

    but with the word document, it didn't work

  • RE: how to save a blob to harddisk?

    by comparing the original doc-file with the created file from bcp,

    ther are only 2signs differnet in the beginning of the hearer.

    when i delete them the doc-file will be correct.

    may i...

  • RE: how to save a blob to harddisk?

    by using

    bcp "select datei from Adventureworks.Person.Address WHERE

    addressid=1 " queryout "c:\TestOut.doc" -T -n -Slocalhost

    the file will be created. the file has the same filesize like the original.

    But the content is very...

  • RE: how to save a blob to harddisk?

    Hi,

    i tried the following:

    bcp "select datei from Person.Address WHERE

    addressid=1 " queryout "c:\TestOut.doc" -T -n -Slocalhost\AdventureWorks

    but i got the following error message:

    SQLState = 08001, NativeError = -1

    Error = [Microsoft][SQL Native...

  • RE: xp_cmdshell with varbinary

    hi, thank you for your reply:

    I tried the following:

    Exec master.dbo.xp_cmdshell 'osql -E -S. -Q"select datei from person.address where addressid=1" -o"C:\test.doc" -d"AdventureWorks"'

    But when i look into the doc-file: the content is...

Viewing 7 posts - 1 through 7 (of 7 total)