Connecting Tech Pros Worldwide Forums | Help | Site Map

equivalent of SET NEWPAGE NONE in SQL server 2005

Newbie
 
Join Date: Feb 2008
Posts: 13
#1: Feb 29 '08
Are there any equivalent of following in SQL server 2005?

SET NEWPAGE NONE;
SET SPACE 0;
SET LINESIZE 181;
SET PAGESIZE 0;
SET ECHO OFF;
SET FEEDBACK OFF;
SET HEADING OFF;
SET UNDERLINE OFF;
SET FLUSH OFF;
SET MARKUP HTML OFF;
COLUMN AGT_CD NOPRINT;
COLUMN PROC_DT NOPRINT;
SPOOL OFF;
SET COLSEP ',';

ck9663's Avatar
Expert
 
Join Date: Jun 2007
Posts: 1,925
#2: Feb 29 '08

re: equivalent of SET NEWPAGE NONE in SQL server 2005


What does it do?

-- CK
Newbie
 
Join Date: Feb 2008
Posts: 13
#3: Mar 3 '08

re: equivalent of SET NEWPAGE NONE in SQL server 2005


Quote:

Originally Posted by ck9663

What does it do?

-- CK

I am trying to convert Oracle script to SQL Server. I think those are the environment variables..
Newbie
 
Join Date: Feb 2008
Posts: 13
#4: Apr 22 '08

re: equivalent of SET NEWPAGE NONE in SQL server 2005


Hi CK,
Any idea? In Oracle, these were used for formatting the output (pooled to txt file).

Laternatively, I am lokking for how to format the values when dataset is pooled to a txt file.
Thanks in adavance.
ck9663's Avatar
Expert
 
Join Date: Jun 2007
Posts: 1,925
#5: Apr 23 '08

re: equivalent of SET NEWPAGE NONE in SQL server 2005


No idea yet on that one.

If you just want a text file output, you might want to consider BCP and OSQL

-- CK
Reply


Similar Microsoft SQL Server bytes