Forum Replies Created

Viewing 15 posts - 3,526 through 3,540 (of 3,544 total)

  • RE: BCP Import with Integer

    I think it is to do with for format of the input file. You're data is in character format and therefore you need to tell bcp that. To use SQLINT...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: BCP Import with Integer

    Change to SQLCHAR in your format file.

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Alias field names and where clause

    Seems find except for table name

    i.e.

    select fullname

    from (select Name + Surname as Fullname from tablea) as a

    where Fullname > 'Paul'

    order by Fullname

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Array setup "worth the trouble"?

    Antares686, where did you get info re RAID5.

    We put OS on RAID5 (2 logical drives (C: for OS, D: for SQL)!

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: BIG PROBLEM!

    "Make sure you turn off the header output, (does anyone know hot do this in query analyzer?)"

    Query

    Current Connection Options

    Advanced

    Print Headers (Remove Tick)

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: OPENQUERY and parameters

    Try

    DECLARE @sql nvarchar(4000)

    SET@sql = 'SELECT * FROM OPENQUERY(SERVER2, ''SELECT val1=db1.dbo.fn_MyFunction(' + @param1 + ')'')'

    EXECsp_executesql @sql

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Pending/Running Job Error

    Never done this but have you checked the code that returns jobStatus is working OK!.

    IS your code running too soon? CurrentRunStep will return 0 if the job step is...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: best practice disk arrays

    Interesting! What about SQL7, 3 x 18GB drives, 1 controller, RAID5. 2 Logical drives, C: (4GB) for OP Sys, D: (30GB) for SQL. Is this bad practice?

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: SQL Procedure Question

    Why not check if row exists in destination table before insert. This is what I do.

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Retrieving data from DAT file

    I think Antares686 is right. Have you no backup of master prior to rebuild?

    However, having a really surreal idea.

    MAKE A COMPLETE BACKUP OF SQL (Master,etc.)

    Make copy of the DAT file...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: DTS Process Task

    Is the error display from your app?

    Error 1004 can be caused by trying to open xls with older version of Excel than the one used to create it!

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: stored-procedudure error

    Try looking at the following topic, I believe it holds your answer.

    http://www.sqlservercentral.com/forum/topic.asp?TOPIC_ID=7690&FORUM_ID=8&CAT_ID=1&Topic_Title=declaring+variable&Forum_Title=T%2DSQL

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: DTS Process Task

    Never done this so not much help. However when I have had problems with transferring apps to server where they don't work but do on my workstation. The only advice...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Erwin diagram

    Don't know what ERWin is.

    This may sound obvious but when I want to send people my Visio database diagrams I convert them to Acrobat via printing.

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: INSERT INTO problem

    The use of IN/NOT IN with sub queries seems to be a common theme.

    I have found LEFT OUTER JOINS to be a lot faster than NOT IN (SELECT...)

    I would try...

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 15 posts - 3,526 through 3,540 (of 3,544 total)