Question

simple sql

Rating5.6Good

I have an oracle table which has following fields:
acct_nbr
sales_amt

Now I want to add a row_id kind of a field to my table, so that when I send out sales_amt , I can just send row_id, sales_amt, and not send out the acct_nbr to other people. But at the same time when someone comes back and asks me to verify sales_amt, I can ask the row_id from them and then use that to locate which acct_nbr they are talking about . Can u please share the code to create a row_id or a record_id kind of a column in my table.

  1. Adding Seperate columns together without PL/S…
    Good Mornin Experts - I have a table that I need to add up some totals with - I'm looking for the fastest, most simple way of doing this - a coworker was working on this project and he has a *HUGE* PL/SQL Block that does it, but it does seem like a LOT of overkill - I was curious about the different approaches to this - I do not know PL/SQL, but I *THINK…
  2. How do I get the parameter value in a logged ora…
    I'm using Oracle 9i's dbms_fga procedure to log select statements on a table. I was able to successfully create a policy that logs select statements. And Oracle in fact captured the select statements into the dba_fga_audit_trail table. The problem is that the logged statements have a parameter in them. It is that parameter value that is most important to me. …
  3. Oracle 9i SQL decode
    Hi, I am trying write a SQL based on the following condition: select a.id, a.col2 f_name, b.col3 L-name, c.v_date date_1, decode(a.cat,'007','first','008','second','') as cat_type ..... from a,b,c,... where ...... The change I want to do on the abo…
  4. Oracle SQL GROUP BY
    What is the best approach of the following SQL? -- Is it gonna give two different results? -- It makes no difference. -- How does the oracle process these SQL statements. -- How exactly does the group by works? Any thoughts???
  5. SQL Update - text + column + text + column
    I really need a quick resolution to this sql update issue. We have requestid and checksum columns in a table row with another column that needs to be updated with a download link such as: "http://IPADDRESS/osilas/viewReport?reqId=”REQID”&cs=”CHECKSUM” I am trying to do this using an AFTER INSERT Trigger. Please help!

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution
View This Solution - Start Your 30 Day Free Trial
Zone
Oracle 09
Tags
Participating Experts
4
Solution Grade
A

Replies

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: ajexpert

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: Sara_j_11

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: Sara_j_11

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by:

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: ajexpert

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: ajexpert

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: Sara_j_11

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: Sara_j_11

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: Sara_j_11

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: ajexpert

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: Subramanyeswara

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: slightwv

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: angelIII

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Stay Connected

Oracle Around the Web

The latest Oracle news, tips, and tricks

Oracle Unveils Netra SPARC T3 Servers

New Carrier-Grade Blade and Rackmount Servers Deliver Better Performance, Density and Power Efficiency for the Communications Industry ...

read more

Oracle fixes 21 flaws in Java SE, Java for Business

Oracle is fixing 21 flaws in its Java SE and Java for Business products in its February critical patch update issued this week ...

read more

Obama’s Silicon Valley “Tech Supper”

Why was he there? Who wasn’t invited and why? What did they talk about? Why was he really there? These are the questions being debated ...

read more

Featured Oracle Experts

slightwv

slightwv has answered more than 2,000 Oracle questions and oversees database management within the U.S. Government. Slightwv

sdstuber

A regular presenter at the Collaborate conference, Oracle developer sdstuber is a top expert in PL/SQL and Oracle 9, 10 and 11. sdstuber

Testimonials

What users are saying about our experts

"The Oracle gurus provide answers, solutions and valuable workarounds"

User: schwertner

"Wow! Excellent, valuable explanation. Hats off to you"

User: aseshu70

"Solution worked fantastic and performs excellent! Thanks heaps"

User: klausbrandlhuber

Top Experts

Know a thing or two about Oracle? Join our team of experts today.

    BrowseBecome an Expert