Results 1 to 3 of 3

Thread: 2 Line breaks appearing in my result set (SQLServer)

  1. #1
    Join Date
    Mar 2004
    Location
    UK, Essex
    Posts
    2

    2 Line breaks appearing in my result set (SQLServer)

    Using osql I call a stored procedure that runs a query against my SQL Server database. The output has to be formatted to an exact format which I have partly successfully achieved.

    The problem I am having is that every time the query is run SQL Server places 2 blank lines at the bottom of the result set causing problems when feeding into my other system.

    I have set nocount on in order to remove any "Rows Affected" messages but alas I still hit the problem of having 2 empty rows.

    Can anyone help???????
    Last edited by PDEvans; 03-04-2004 at 08:27 AM.

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

  3. #3
    Join Date
    Mar 2004
    Location
    UK, Essex
    Posts
    2
    I'm going to avoid explaining too much detail as to what we are trying to do because it will just cloud the issue. The data our stored procedure calls is to be fed into a mainframe system. DTS is not an option for us.

    We simply need to establish if there is a way of removing these two carriage returns at the bottom of our result set.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •