DSN name for my sql * more

Hello all;

I googled this a bit but I need to check with the experts, where can I find the DNS for my sql * more

user13328581 wrote:
Hello all;

I googled this a bit but I need to check with the experts, where can I find the DNS for my sql * more

There is NO direct relationship between sqlplus & DNS.
sqlplus just a SQL client can interface to 1 or more Oracle DBs.
DNS is domain name Services; who provides the hostname IP # translation

What problem are you trying to solve?

Tags: Database

Similar Questions

  • DSN name for BI on Linux server

    Hi all

    I'm trying to connect Server BI to the direct assistance of the database request.my server in GNU / Linux.

    me trying to run the following statement.

    ODBC driver returned an error (SQLExecDirectW).

    [nQSError: 16001] ODBC error state: IM002 code: 0 message: data [DataDirect] [ODBC lib] source name not found and no driver specified default. (HY000)

    Publ. SQL: {call NQSGetQueryColumnInfo ("PHYSICAL CONNECTION POOL RUN"BIServer"". "")} Purge the Cache"call SAPurgeAllCache() ;')}


    When I use the same statement in another windows box (installed complete BI) it works. I used the name of data source as (coreapplication_OH725293).

    Please let me how to find the DNS name? /

    THX,

    Hello

    Pass under the open path odbc.ini, add an ODBC connection to Server BI.

    / usr/app/Oracle/middleware/instances/Instance1/bifoundation/OracleBIApplication/coreapplication/Setup

    Add/Edit like this

    [ODBC Data Sources] - he comes by default

    New_Server = Oracle BI server - add/edit

    [New_Server]

    Driver = /usr/app/oracle/Middleware/Oracle_BI1/bifoundation/server/bin/libnqsodbc64.so

    Description = Oracle BI server

    IsClusteredDSN = Yes

    Regional = Yes

    PrimaryCCSPort = 9703

    SSL = no.

    PrimaryCCS = YOUR hostname

    Here the name of the data source of your BI server - New_Server

    Thank you

  • How to end program simultaneously on alert for a SQL * MORE

    Hello
    I want to conclude a sql * plus program contributing to the caveat. Given that we spend RETCODE contains, I don't know how to do this. But I know for sure that we can do this since I did sometimes return but could not find the code.

    Help, please.

    TIA.

    MetaLink/MOS Note 866194.1 can help you. It is specific to the host programs, but it uses the fnd_concurrent.set_completion_status program in a script from sqlplus.

    page 21-9 11i developers guide describes the function of set_completion_status.

    Published by: mcharchuk on December 11, 2009 08:42

  • bad connect to Sql * more via command and cannot log on to the designer (need for connection string)

    I installed Oracle Developer with success, but having bad connect to Sql more than command line, also unable to connect via the developer tools, I get a TNS: Connect timeout occurred. This happens also for the "Plus" Sql for Windows.

    Oracle Forms connect error.png


    However, I can connect via the Sql Plus command window when it is executed from "Start-> all programs", but not when I first run the command window:

    sqlplus error.PNG


    I have a good Oracle 11 g install on Windows 7 and a good developer Sql install so I can connect to databases, but something does not work when you try to connect through these tools. Although Sql Plus works when called from 'Start-> all programs'

    sqlplus scott/tiger - don't use SQL * Net, you can connect like this even with the listener is stopped.

    Developer SQL can ONLY connect using SQL * Net & can be blocked by the firewall

    to connect using sqlplus & SQL * Net, you need to invoke it as below

    sqlplus scott/tiger@orcl

  • Sizes of Splash screen and names for the iPhone 6 and 6 more in the file descriptor xml files

    Is anyone know the sizes of screen and the file names for the iPhone 6 and 6 more (for the descriptor xml file)? Or current splash screens works on both devices?

    i.e. Default-Portrait.png *-768w x 1024 h

    Hello

    Here is the specification.

    iPhone 6

    Start screen

    750 x 1334

    72

    [email protected]

    Resources or resources/iphone

    iPhone 6 more landscape

    Start screen

    2208 x 1242

    72

    [email protected]

    Resources or resources/iphone

    iPhone 6 Plus portrait

    Start screen

    1242 x 2208

    72

    [email protected]

    Resources or resources/iphone

    You can find more info here - http://docs.appcelerator.com/titanium/3.0/#! / guide/Icons_and_Splash_Screens-section-290048 97_IconsandSplashScreens-Splashscreens

  • limitation in the use of sql * more like a database for applications

    Dear expert;

    I would like to know everything, what are some of the main limitations using sql * more as your database in the application in addition to designing the user interface is pretty nice... and google does not produce answers to my questions also unfortunately

    user13328581 wrote:
    I don't know about the drivers, I just need an IDE that is very similar to the PL/SQL Developer who will give me the opportunity to create the tables and their relationships and other tasks DDL that is why, at the beginning I was just wondering if it is OK to use sql * more for everything that...

    Yes, sqlplus allows you to do what you want

  • SQL * more wild returned data String - spaces (required) are abandoned in character data

    Does anyone know how to preserve the credibility of a string returned by using SQL * more variable substitution for use in a title column.

    I am under SQL * more script and the output of the securities. I need to find out the name of the company (in the text name of the legal entity). However, the substitution variable returns / outputs the data to the correct record, but corrupts the content of the returned string by spaces dropping (necessary)?

    In the script below, I tried several combinations to include using a technique of faking the output as a formula in Excel. It is very effective with the attack anywhere to Oracle/Microsoft problem at the output to Excel. For some varieties in solution, there are two methods to fill the Legal_Entity_Name which each produce the same corrupt result. I use method 2 because it's a little more friendly.

    The output is directed to a local directory C:... If you try to run this script... note the output in the script path is c:\Ora_scripts\Corrupt_Example.xls coil;

    In the database, EBS R12, the correct output should be: Industrias Selkirk of Mexico S de RL de CV . (IN THE SCRIPT, THE SAME SELECT STATEMENT IS USED AS THE MAIN QUERY - IT PRODUCES A CORRECT RESULT).

    However, data is corrupted to: IndustriasSelkirkdeMexico.

    Here's a testable script:

    --@C:\Ora_Scripts\Corrupt_String_Script.SQL

    trigger the echo

    went to CHECK

    moved the markup html off the coast of the coil

    Leave your COMMENTS

    Set trimspool on

    delete columns

    clear breaks

    clear the buffer

    Disable CALCULATED

    TOPIC on the value

    set PAGESIZE 50000

    Set LINESIZE 500

    NewPage 0 value

    set TERMOUT off

    -The variable definitions Section.

    Undefine g_Registration_Id

    Set g_Registration_Id = 12033;

    Cancel the Instance definition;

    Set the Instance = "XXXXXX";

    Undefine Time_Stamp;

    Define Time_Stamp = "DD-Mon-YYYY hh ';

    Undefine sv_Legal_Entity_Name

    Bnd_Legal_Entity_Name variable Char (75)

    Variable bnd_Registration_Id number

    --

    -Fill in the title and the title of the data items.

    -Company name get - method 1

    / * Start

    Select xrg. Alternate_Registered_Name in: bnd_Legal_Entity_Name

    of apps.xle_registrations xrg

    where xrg. Source_Table = "XLE_ENTITY_PROFILES."

    and xrg. Registration_Id = & g_Registration_Id;

    End;

    /

    -Transfer the value of the variable binding to the variable substitution

    Column sv_Var_1 sv_Legal_Entity_Name noprint new_value

    Select: bnd_Legal_Entity_Name double sv_Var_1;

    */

    --

    -Company name method retrieves 2

    Run: bnd_Registration_Id: = & g_Registration_Id;

    Column sv_Legal_Entity_Name sv_Legal_Entity_Name FORMAT A75 noprint new_value

    -Try in the form of Excel formula - no luck!

    -Select ' = ' ' | xRG. Alternate_Registered_Name | «"«as sv_Legal_Entity_Name»»»

    Select xrg. Alternate_Registered_Name as sv_Legal_Entity_Name

    of apps.xle_registrations xrg

    where xrg. Source_Table = "XLE_ENTITY_PROFILES."

    and xrg. Registration_Id =: bnd_Registration_Id;

    --

    Column Instance_Col by Instance NOPRINT new_value

    Select the name as Instance_COL in apps. Fnd_Apps_System;

    --

    Column Time_Stamp_Col new_value Time_Stamp NOPRINT

    Select to_char (sysdate, "Mon-DD-YYYY HH24:MI:SS) as Time_Stamp_Col

    From Dual;

    --

    the forage value off markup html on spool

    coil c:\Ora_scripts\Corrupt_Example.xls;

    TTITLE-

    Skip - 0

    'Arguments' left... »-

    Jump - 1

    Center & sv_Legal_Entity_Name-

    Jump - 1

    Right ' run: ' Time_Stamp-

    Center "it is a centered string constant;

    Jump - 2

    -Various declaration of Variables.

    the forage value off markup html on spool.

    HEAD ' < title > example string of corrupt < /title >.

    < style type = "text/css" >-

    table {background: white; do-size: 80% ;}} -

    Th {background: #ccc ;}} -

    TD {padding: 0px ;}} -

    < / style > '

    --                        Mainline query                                      --

    -REPLICATE THE SELECT USED TO DERIVE THE LEGAL_ENTITY_NAME TO THE TITLE

    Select xrg. Alternate_Registered_Name

    of apps.xle_registrations xrg

    where xrg. Source_Table = "XLE_ENTITY_PROFILES."

    and xrg. Registration_Id = & g_Registration_Id;

    -Liquidation of script.

    spool off;

    moved the html markup;

    Here is output (open in Excel):

    Arguments...
    IndustriasSelkirkdeMexico
    It is a centered string
    constant
    Run: 14 October 2014 10:10:45
    ALTERNATE_REGISTERED_NAME
    Industrias Selkirk of Mexico S of CV RL

    Hello

    Just use double quotes... First test: with x.sql container

    trigger the echo

    delete columns

    TOPIC on the value

    set PAGESIZE 50000

    Set LINESIZE 500

    NewPage 0 value

    set TERMOUT off

    -The variable definitions Section.

    Undefine sv_Legal_Entity_Name

    Column sv_Legal_Entity_Name sv_Legal_Entity_Name FORMAT A75 noprint new_value

    TTITLE-

    Skip - 0

    'Arguments' left... »-

    Jump - 1

    Centre '& sv_Legal_Entity_Name ' -.

    Skip 1

    SELECT 'test ttitle' FROM dual;

    running the script, providing a ttitle (slightly different from yours ;-), I have):

                                                                                                       Industrias Belgica ;-) Selkirk

    ' TESTINGTTITLE

    --------------

    test ttitle

    Best regards

    Bruno Vroman.

  • Cannot access SQL more from other than the Oracle users

    Hello

    I installed Oracle 11 g R2 on Red Hat 6. My problem is that I can't access sqlplus from other than the oracle users.

    I put the PATH, the ORACLE_HOME and ORACLE_SID to the correct values.

    Session1

    Connect as: oracle

    [email protected] password:

    Last login: Sun Aug 24 01:24:46 192.168.202.1 2014

    [oracle@localhost ~] $ echo $PATH

    /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/Home/Oracle/bin:/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1/bin

    [oracle@localhost ~] $ echo $ORACLE_HOME

    /Home/Oracle/app/Oracle/product/11.2.0/dbhome_1

    [oracle@localhost ~] $ echo $ORACLE_SID

    ORCL

    [oracle@localhost ~] $ sqlplus

    SQL * more: Production release 11.2.0.1.0 Sun Aug 24 03:17:32 2014

    Copyright (c) 1982, 2009, Oracle.  All rights reserved.

    Enter the user name:

    Session2

    Connect as: nada

    [email protected] password:

    Last login: Sun Aug 24 02:31:49 192.168.202.1 2014

    [prithwish@localhost ~] $ export PATH=$PATH:/home/oracle/app/oracle/product/11.2.0/dbhome_1/bin

    [prithwish@localhost ~] $ export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1

    [prithwish@localhost ~] $ export ORACLE_SID = orcl

    [prithwish@localhost ~] $ echo $ORACLE_HOME

    /Home/Oracle/app/Oracle/product/11.2.0/dbhome_1

    [prithwish@localhost ~] $ echo $ORACLE_SID

    ORCL

    [prithwish@localhost ~] $ echo $PATH

    /usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/Home/Prithwish/bin:/Home/Oracle/app/Oracle/product/11.2.0/dbhome_1/bin

    [prithwish@localhost ~] $ sqlplus

    -bash: sqlplus: command not found

    I guess that I could not access sqlplus as the Nada the user has no access to X11R6

    [prithwish@localhost ~] $ cd...

    [Host prithwish@localhost] $ ls - ltr

    Total 8

    drwx-. 30 oracle oinstall 4096 23 August 23:51 oracle

    drwx-. Nada Nada 4096 24 August to 02:33 27 Mathieu

    [Host prithwish@localhost] $

    My question is, although quite stupid, that double

    (1) I have to change the permissions of the directory oracle of 755 for any other user to access the sqlplus?

    (2) why is the user directory under the folder created with permissions of 700, even when the umask is set to 002? Change the permissions of the directory under/Home oracle will cause security problems?

    My apologies for being naïve. It's the first time I installed Oracle under UNIX

    Kind regards

    Prithwsh

    Actually, the default procedure is NOT to install oracle to X11R6, but in/opt/oracle. or maybe/usr/local/oracle.

    This is what you're going to be recommended in the installation documentation, and in doing so, don't forget to run rootpre.sh and root.sh, I never had security problems and could run Oracle from any account.

    Sybrand Bakker

    Senior Oracle DBA

  • SQL * MORE

    Previously I had installed Oracle Database 10 g Client Release 2 (10.2.0.1.0) on Windows XP and sqlplus was ok.

    Now I have installed Oracle Database 10 g Release 2 (10.2.0.1.0) on Windows 7 Client, to run SQL more, after I entered the name of user and password @db, it comes automatically closes

    Kindly advice

    You can trigger a SR with the binary applicants Oracle for the same thing, if there is a reuirement of business.

    Kind regards

    Kundan Sinha

  • Connection with SQL * more is not possible

    Hello together,

    I have a problem with my database and SQL Plus.

    I can't connect to my DB via SQL Plus, I get the error message: > > ORA_12546: TNS: detonation verweigert (Permission denied) < <.

    I tried it with several users. When I try to log in to enterprise manager or connecting to the DB through SQL Developer works very well with the user > > sys < <, only the SQL more connection does not work.

    It works until yesterday that there are some problems with the DB and the processor and RAM were almost 100% occupied each.


    We use the Version 11 g Enterprise Edition Release 11.2.0.1.0 64 bit Production on a Windows Server 2008 R2 Enterprise Server.

    I am running SQL Plus, Enterprise Manager and SQL Developer directly on the DB server.

    When I start SQL Plus he asks me my username > > enter user name: < < and after that my password: > > password: < <.

    A connection as seen in many forums or document on the internet like > > scott/tiger@ORCL < < never worked on my system, which is also confused me.


    We have no listener.ora file in the folder: ORACLE_HOME/NETWORK/ADMIN only a sqlnet.ora with line > > SQLNET. AUTHENTICATION_SERVICES = (NTS) < < in it.



    Status of the listener:

    ---------------------------------------------------------------------------------------------------------------------------------------------------------

    C:\Windows\System32 > lsnrctl status

    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18 February 2014 12:14:32

    Copyright (c) 1991, 2010, Oracle.  All rights reserved.

    Connection to (ADDRESS = (PROTOCOL = tcp)(HOST=) (PORT = 1521))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 11.2.0.1.0 - Production

    Start date February 18, 2014 10:15:54

    Uptime 0 days 1 hour 58 minutes 42 seconds

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    O:\app\administrator\diag\tnslsnr\QualisysDbNbg\listener\alert\log.XML log listener

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=QualisysDbNbg) (PORT = 1521)))

    Summary of services...

    Service "orcl" has 1 instance (s).

    Instance "orcl", State LOAN, has 1 operation for this service...

    The command completed successfully

    C:\Windows\System32 >

    ---------------------------------------------------------------------------------------------------------------------------------------------------------


    I hope someone can help me with this problem.


    Thank you you very much in forward for your answerand greetings

    Matthias


    The sys user must connect as sysdba

    have you tried

    sqlplus 'sys@ORCL as sysdba'

    or

    sqlplus 'sys/yoursyspwd@ORCL as sysdba'

    the first command should work without password for all users group ORA_DBA.

    Scott, the user cannot also exists in your database.

  • Connection to the 11g on Oracle_Developer_Days.ova with sql + more

    I downloaded the Oracle_Developer_Days.ova and have confirmed with connectivity

    C:\Users\robm > ping ServeurOracle

    ServeurOracle ping [192.168.11.18] with 32 bytes of data:

    Reply from 192.168.11.18: bytes = 32 time < 1 ms TTL = 64

    Reply from 192.168.11.18: bytes = 32 time < 1 ms TTL = 64

    Reply from 192.168.11.18: bytes = 32 time < 1 ms TTL = 64

    Reply from 192.168.11.18: bytes = 32 time < 1 ms TTL = 64

    Ping statistics for 192.168.11.18:

    Packets: Sent = 4, received = 4, lost = 0 (0% loss),

    Time approximate round trip in milli-seconds:

    Minimum = 0ms, Maximum = 0ms, average = 0ms

    C:\Users\robm >

    I have advanced and installed the client instant and also installed the sql + more

    C:\Users\robm > sqlplus scott/tiger@orcl

    SQL * more: Production of the 12.1.0.1.0 on sat Nov 30 00:27:44 version 2013

    Copyright (c) 1982, 2013, Oracle.  All rights reserved.

    ERROR:

    ORA-12514: TNS:listener is not currently of service requested in connect

    descriptor of

    Enter the user name:

    Here the tnsnames.ora can, I did you see errors?

    XRACQ_MYSERVICE_TAF =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = oracleserver) (PORT = 1521))

    (LOAD_BALANCE = yes)

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcl)

    (FAILOVER_MODE =

    (TYPE = SELECT)

    (METHOD = BASIC)

    (RETRIES = 180)

    (DELAY = 5)

    )

    )

    )

    any ideas on how to make it work?

    I now get

    ORA-01017: name of user and password invalid. connection refused

    using tsnames.ora

    WEIRD =.

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADRESSE = (PROTOCOL = TCP) (HOST = 192.168.11.18)(PORT = 1521)))

    (CONNECT_DATA =

    (SERVICE_NAME = orcl)

    )

    )

    so I seem to connect now... . How can scott Tiger be wrong isn't the default?

  • PLS-00201 error occurs when the batch a stored procedure in SQL * more

    I have a batch file to run a stored procedure and the coil results in file. When I enter orders manually in sql * plus the output works very well and my results are spooling in the output file. But when I run the same commands in the script I get an error batch.


    Any ideas?

    Stored procedure:

    create or replace procedure MMP (p_cursor in the SYS_REFCURSOR)

    as

    Start

    Open p_cursorfor select name, id from table;

    end;

    batch file 1:

    sqlplus-s user/pw@REPORTDV @sp_output_spooled.sql

    sp_output_spooled.SQL script file

    Paste these commands directly on the SQL * more guest wraps the result as expected the value leader.

    the colsep value ' |'

    trigger the echo

    Set feedback off

    termout off Set

    set the position

    set linesize 9000

    set pagesize 0

    Set trimspool on

    headsep off Set

    output of the coil. TXT

    var refcursor rc

    run MMP(:rc)

    print the rc

    spool off

    output

    Errors printed to the output. TXT file after the batch is executed and error occurs:

    BEGIN MMP(:rc); END;

    *
    ERROR on line 1:
    ORA-06550: line 1, column 8:
    PLS-00201: identifier 'MMP' must be declared.
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored


    ERROR:
    ORA-24338: statement handle not executed


    SP2-0625: variable printing error "rc".

    Hello

    Your code worked fine for me.

    Procedure MMP is owned by the same user that runs the batch file or does it means and appropriate privileges?

    VR,

    Sudhakar

  • SQL * more report: hide accept the value in the report

    Hi all

    I created a SQL for APEX-Application report. The output is stored in an HTML file.

    Everything works great but think I want to hide in the HTML report.

    I try to describe what is the problem.

    I invite the user to put in the demand of the apex application_id:

    accept v_application_Id char prompt ' ID application:'

    In the HTML file, you receive the following output:

    Report tabled the:
    June 25, 2013, 10:06:04

    ALT 8: where application_id = & & v_application_id
    Neu 8: where application_id = 680

    Workspace
    Workspace APPLICATION_ID Application_name ALIAS OWNER
    Q0Q0AUFTRAGSVERWALTUNG680Q0Q0AUFTRAGSVERWALTUNGF680317Q0Q0AUFTRAGSVERWALTUNG_ADMIN

    How to hide the two lines

    ALT 8: where application_id = & & v_application_id

    Neu 8: where application_id = 680

    According to the report?

    I searched this forum and toke a glance in the documentation, but I found nothing.

    Could someone help me please?

    Oracle 11g R2

    This is the SQL script I run in SQL * more.


    -launch script

    accept v_application_Id char prompt ' ID application:'

    coil C:\a\APEX.html


    termout off Set
    SET of HTML MARKUP WE REEL WE HEAD ' < TITLE > SQL * more APEX report < /title >--
    "< STYLE TYPE =" TEXT/CSS"> <!-BODY {bgcolor: background ffffaa: ffffc6}-> < / STYLE >.
    Clear jump
    clear the buffer
    Claire calculate
    clear the column
    Disable the sql
    Set feedback off
    Set serveroutput on


    --
    -Report header
    --
    TTITLE left ' ' jump 1
    Select TO_CHAR (sysdate, 'dd-Mon-yyyy, hh24:mm:ss') ' report created on:
    Double;


    --
    -Workspace
    --
    TTITLE left col 15 ' < police = "Arial" size = "+ 2" color = "#0000FF" > workspace < / police > ' jump 1

    set linesize 300
    set pagesize 500
    Set serveroutput on


    column format a35 workspace
    application_id 99999999 column format
    column format a35 application_name
    column alias format a35
    column owner format a35

    Select

    WORKSPACE,
    APPLICATION_ID,
    APPLICATION NAME,
    ALIAS,
    OWNER
    of apex_applications
    where application_id = & & v_application_id;

    off Ttitle

    Select
    APPLICATION_GROUP,
    APPLICATION_GROUP_ID,
    HOME_LINK,
    PAGE_TEMPLATE,
    ERROR_PAGE_TEMPLATE
    of apex_applications
    where application_id = & & v_application_id;


    Set termout on
    moved the markup html off the coast of the "body" entmap wide head reel off pre
    Set of feedback on
    set linesize 80
    set pagesize 50
    off Ttitle
    Set termout on
    Set serveroutput off
    spool off
    set echo on

    -End Script


    Best regards

    Ben

    Oracle 11g R2

    Hi, Ben.

    The SQL * Plus command to stop these messages is

    SET VERIFY OFF

    Put this command anywhere before the first use of a substitution variable, for example before the order of the COIL.

    These 'OLD' and 'NEW' messages will remain deleted until you finish the SQL * most the session or cause a SET VERIFY ON command.

    If you use SQL * more often, then, when you have a few minutes, look for the SET command in SQL * more manual,.

    System of SETTING Variable summary

    and read a little about each option.  You probably don't remember everything, but you'll probably remember what kind of things can be controlled by the SET command and get a better idea of where to start to look in the future when you have a different problem.

  • How to add timestamp to log file in SQL * more?

    Version: 11.2.0.3
    Platform: RHEL 5.8 (but I'm looking for a solution that is independent of the platform)


    I want to add the timestamp file name of the log queued in SQL * more.
    The name of the queued log file should look like
    WMS_APP_23-March-2013.log
    I tried the 3 following methods found in the google. But none of them worked!


    I tried this
    col sysdt noprint new_value sysdt_var
    SELECT TO_CHAR(SYSDATE, 'yyyymmdd_hh24miss') sysdt FROM DUAL;
    spool run_filename_&sysdt_var.Log
    as suggested in
    http://power2build.WordPress.com/2011/03/11/sqlplus-spool-name-with-embedded-timestamp/

    and this
    spool filename with timestamp
    col sysdt noprint new_value sysdt
    SELECT TO_CHAR(SYSDATE, 'yyyymmdd_hh24miss') sysdt FROM DUAL;
    spool run_filename_&sysdt..Log
    as suggested in

    http://powerbuildev.WordPress.com/2011/03/11/sqlplus-spool-name-with-embedded-timestamp/


    and this
    column tm new_value file_time noprint
    select to_char(sysdate, 'YYYYMMDD') tm from dual ;
    prompt &file_time
    spool logfile_id&file_time..log
    as suggested in
    Creating a queue with date/time added file name



    None of these worked in RHEL or MS DOS. No work around?

    You are explicitly turned off the replacement of the variables of substitution with the statement "all set."
    http://docs.Oracle.com/CD/E11882_01/server.112/e16604/ch_eight.htm
    "SET DEFINE OFF disables the analysis of orders to replace variables with their values substitution."

  • How to get SQL * more to connect to my database of Apex?

    How can I get SQL * more to connect to my database of Apex? By using the username and password I use to connect to Apex does not (ORA-01017). What should I do to connect to my db Apex?

    Thank you
    Kim

    Connection string is "connect username/password@database".

    The analysis schema is a database account, that's why you can log on to SQL * more like that.

    This allows to get the database name

    select instance_name from v$instance;
    

    And if you forgot the password for the PT

    alter user PT identified by 'your_new_password';
    

    Scott

Maybe you are looking for

  • How can I make a visible folder for users of other computers

    I made a folder I want to keep some incoming e-mails, but it is not visible to the other users who can access the primary e-mail account. In addition, if changes are made to emails in the first account by a user, it does not affect other views of com

  • How do I put a link to a program in the task line so it starts with a click away?

    I'm trying to rebuild the hard drive on a PC which has Win XP SP3.  I'd like to programs often used in the task line, and not in the Quick Start menu icons (links).  I don't want to load them at the beginning, but I wish that their icons appear in th

  • Why not forget the Windows folder settings on reboot?

    Recently, when I reboot or restart Windows XP, my favorite folder view (details) setting has disappeared and shows icons. I continue to go to Folder Options > view > apply to all folders and this reset (of I put in a folder view to view details). Wha

  • My laptop was stolen and I want to install windows 7 original in my new laptop

    My laptop was stolen and I want to install the windows 7 original (which I had installed in my stolen laptop) in my new laptop, but it is not preinstalled (I bought the computer laptop and windows separately, so I still have the CD and serial number)

  • Windows user account problem

    I use in my lappy windows8. recently, when I turn on my lappy it says that user account was not able to sign at c: use before there are only 2 public accounts and sai recently another account 'temp' is created and my old 'sai' account is not working.