Forum Replies Created

Viewing 10 posts - 1 through 11 (of 11 total)

  • RE: Pipe Symbol as Column delimiter

    I checked and found command should be '-c -T -t "|" '

    eg.,

    'BCP ' + @TABLE + ' QUERYOUT ' + @DIR + @FILE + '-c -T -t "|"...

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

  • RE: Pipe Symbol as Column delimiter

    I tried initially and now but the result is same (-t| -r\r)

    "The system cannot find the path specified"

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

  • RE: Pipe Symbol as Column delimiter

    I am exporting records by using Stored procedure. The master table contains many coulmns, I needed to export all master table columns (10 columns) into .dat file,

    eg of...

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

  • RE: Pipe Symbol as Column delimiter

    Lately I found CHAR(124) will be the Pipe Symbol (|)

    Thanks for your timings...:D

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

  • RE: SQL Year and Week numbers

    SELECT CONVERT(VARCHAR,GetDate(),112) 😛

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

  • RE: Linked Server MSDAORA error

    Try to ping the URL / IP address which you have entered into TNSNames.ORA and check the PORT and connect data have entered correctly. If it gives response check...

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

  • RE: Rebuild master database

    Thanks very much...is it not required to restore tempdb database?

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

  • RE: Is it possible to add one more System Database(5th)?

    Rajan, This is one of the interview questions which I faced. I searched but no luck. Is there any way to add?

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

  • RE: Query Execution Time (Trouble Shooting)

    Renuka, Thanks for the information. Is there any other way to check like show / update statistics method to check the query execution?

    Thanks in advance.

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

  • RE: How to export data from a table into a text file in SSIS?

    Hi, you can do the following to export data from table to file

    DECLARE @sql VARCHAR(2000)

    DECLARE @DAY VARCHAR(20)

    DECLARE @FILE VARCHAR(100)

    DECLARE @DIR VARCHAR(100)

    DECLARE @TABLE VARCHAR(100)

    SET @DIR = 'G:\DRIVE\'

    SET @TABLE = '"SELECT...

    [font="Comic Sans MS"]Sara[/font]

    A ship in the harbour is safe . . . but that's not what ships were made for. 😀

Viewing 10 posts - 1 through 11 (of 11 total)