473,785 Members | 2,414 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sqlplus (set verify command)

Hi everyone,

Firstly i would like to thank everyone for their help and
suggestions.
However, i still could not fulfil my boss request. Here what i need to
do:

Original:
SQL> set verify on
SQL> define myv = 100
SQL> select last_name from employees where employee_id = &myv;
old : select last_name from employees where employee_id = &myv
new : select last_name from employees where employee_id = 100

LAST_NAME
-------------------------
King
Required
SQL> set verify on
SQL> define myv = 100
SQL> select last_name from employees where employee_id = &myv;
new : select last_name from employees where employee_id = 100

LAST_NAME
-------------------------
King

I only want the 'new query' to be printed out. That is all.
And im not supposed to use print statements to print out the query.
Which means whenever the user changes the query, the printout of
query will be changed automatically. If by using print statements,
the user has to change both the query and the print statements, hence
not robust.

Could anyone help me? i appreciate your help very much. Thanks in
advance.
Lost

Oct 19 '05 #1
1 16532
Hi losway,

as far as I know this it not possible. It is all or no verify
information.

HTH

Roel Hogendoorn
More information on Oracle Apps or Tech Oracle can be found on:
http://www.altasen.com

Nov 11 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2519
by: TimMcConechy | last post by:
How can I execute a set schema command from within a trigger? I tried using the SET SCHEMA command but it seems the compiler gets confused about it and thinks its as a variable reference.. My first attemp was: CREATE TRIGGER SHARED.INTIN AFTER INSERT ON SHARED.PDMIN REFERENCING new AS new FOR EACH ROW
4
15839
by: maricel | last post by:
I have the following base table structure - DDL: CREATE TABLE "ADMINISTRATOR"."T1" ( "C1" INTEGER NOT NULL ) IN "TEST_TS" ; ALTER TABLE "ADMINISTRATOR"."T1" ADD PRIMARY KEY
1
3866
by: aj | last post by:
DB2 v8 FP5 Red Hat AS 2.1 We are encountering a strange error where the default schema name that is specified w/ a SET SCHEMA command is being inconsistently ignored, causing all table references to be prefixed with the connecting username, and throwing many SQL -204 SQLSTATE 42704 exceptions. There does not appear to be a pattern to this, except that heavy
2
5265
by: Wayne Wengert | last post by:
I want to write a Windows application to go through all the email addresses in an SQL Server table and to report which ones are invalid. From Googling and perusing NGs it is my understanding that the process to validate an email address is done at 3 levels: 1. Verify that it is syntactically valid 2. Verify that the domain exists (SMTP verification) 3. Verify that the email address exists at that domain (MX verification) The first one I...
12
2395
by: technocrat | last post by:
I am trying to laod 2 tables and set integrtiy on them, but the second tables fails ( both are related and SET INTEGRITY ion first table succeeds) saying constraint violation....is there a way to find out which records are violating....?? may be through try catch a SQLException...??? but how?? any suggestions are welcome!
5
7578
by: mahhsuri | last post by:
I have 120 tables which mostly dependent to each other. Just did a db2move for all data. Now causing SQL0668 error when accessing tables with dependencies. Now I am running SET INTEGRITY command for each tables one-by-one. :( Is there a way to run SET INTEGRITY the parent table and cascade the state to child table? If yes, what's the syntax?
2
3726
by: mivey4 | last post by:
Okay, Here's the problem. I quite often use sqlplus from a command console for obvious benefits that aren't available using the sqlplus windows application. Such as storing the previous commands in the buffer so I don't have to re-type an entire statement repetitively to acquire the results or recieving an real-time horizontal scroll of the results and etc. My concern is that I've noted an apparent offset of the column headings to their...
1
1117
by: losway | last post by:
Hi everyone Firstly i would like to thank everyone for their help an suggestions However, i still could not fulfil my boss request. Here what i need t do Original SQLset verify o SQLdefine myv = 10
0
9646
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10346
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8982
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6742
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5514
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.