473,770 Members | 4,419 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 16530
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
3865
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
9439
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10071
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...
1
10017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9882
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8905
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
6690
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
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3987
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.