Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6894067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:44:11+00:00 2026-05-27T06:44:11+00:00

I’m currently trying to put the sysdate into the ttitle element of a SQLPlus

  • 0

I’m currently trying to put the sysdate into the ttitle element of a SQLPlus report, but I can’t quite get the syntax right.

This is what I have to far:

Can anyone help?

ttitle center 'This is my title' skip 2 left -
              'prepared by a SQLPlus noob' right -
              select sysdate from dual skip 4;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:44:12+00:00Added an answer on May 27, 2026 at 6:44 am

    You can use the new_value construct in sqlplus to do this.

    SQL> set feedback off;
    SQL> column a1 new_value report_date
    SQL> select sysdate report_date
      2    from dual;
    
    SQL> spool "C:\report1.log"
    SQL> select * from scott.emp;
    SQL> spool off;
    

    Report output

    Sat Nov 26                                                                                                                                                                                     page    1
    this is the employee report for 26-Nov-2011
    
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO                                                                                                                   
    ---------- ---------- --------- ---------- --------- ---------- ---------- ----------                                                                                                                   
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20                                                                                                                   
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30                                                                                                                   
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30                                                                                                                   
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20                                                                                                                   
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30                                                                                                                   
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30                                                                                                                   
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10                                                                                                                   
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20                                                                                                                   
          7839 KING       PRESIDENT            17-NOV-81       5000                    10                                                                                                                   
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30                                                                                                                   
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20                                                                                                                   
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30                                                                                                                   
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20                                                                                                                   
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently running into a problem where an element is coming back from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a French site that I want to parse, but am running into
I am trying to loop through a bunch of documents I have to put
I want to count how many characters a certain string has in PHP, but
I am trying to understand how to use SyndicationItem to display feed which is
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.