Wrox Programmer Forums
|
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 11th, 2005, 10:12 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sql Report

Can Any one tell How to dynamicly set headings in asql report....
:D

 
Old March 12th, 2005, 01:07 AM
Authorized User
 
Join Date: Dec 2004
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

set heading ('&HEADING', 'NO HEADING')

Sujit Ku. Mahapatra
 
Old March 14th, 2005, 12:15 AM
Friend of Wrox
 
Join Date: Sep 2004
Posts: 140
Thanks: 0
Thanked 0 Times in 0 Posts
Default

SET PAGESIZE 71 NEWPAGE 0 LINESIZE 90;
SET PAUSE OFF TERMOUT OFF VERIFY OFF ECHO OFF TAB OFF DOC ON HEAD OFF;
SET FEEDBACK OFF SPACE 1;
SET RECSEP OFF;
set underline off;


COLUMN t1 Heading format 99990G999;
COLUMN t2 Heading format 99990G999;
COLUMN t3 Heading format 99990G999;


SELECT Ename t1,SAL t2,Deptno t3 From Emp;

SET TERMOUT ON HEAD ON;

SPOOL ON
SPOOL C:\TEST.LST
/
SPOOL OFF;
ttitle off;
CLEAR BREAKS;
CLEAR COLUMNS;
SET EMBEDDED ON;
SET HEADING OFF;
******************

Now Instead of T1 i want some other value from a varable








Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Report Problem with SQL AnushkaKRajasingha C# 0 October 8th, 2007 11:53 PM
SQL on crystal report shamee_banu Crystal Reports 0 March 21st, 2007 01:34 AM
Using Crystal Report with SQL SERVER deepakbachelor Classic ASP Basics 0 June 23rd, 2006 03:02 AM
Displaying SQL Report in VS.Net exactlynn SQL Server 2000 0 July 29th, 2004 06:32 AM
How to use use ListBox in SQL Report abhiinbwir ADO.NET 0 July 13th, 2004 06:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.