1,488 Topics

Member Avatar for
Member Avatar for agaba

Create a script named *just_lee_trg.sql* that contains the PL/SQL code to create a trigger named *books_qty_on_hand_trg*. The trigger should be set up to fire whenever the quantity on hand for a book has been updated. When the quantity on hand becomes zero, it should call the *insert_reorder* procedure and pass …

Member Avatar for hfx642
0
169
Member Avatar for agaba

I m try to solve this problem Add a column named *reorder_quanity* to the *books* table that will hold a value up to 999 with a default value of 10. 4. Update the reorder quantity of all books to 10. 5. Update the quantity ordered to 1 for all books …

Member Avatar for hfx642
0
215
Member Avatar for virtues

hi... I have a doubt. please clear me that what is the difference b/w sql, mysql & oracle.? please reply soon...

Member Avatar for urtrivedi
0
74
Member Avatar for Majestics

Is there any way to take oracle backup from java. [code] Connection c = // Connection Setting; st = c.createStatement(); rs = st.executeQuery("//What to write here for backup"); [/code] I have tried imp and exp utility , but they cant be accessed through sqlplus...

Member Avatar for Majestics
0
246
Member Avatar for Majestics

select companyname,sum(sale) as TotalSale,sum(purchase) as TotalPurchase from invoice group by companyname Having companyname IN (select companyname from invoice) It returns sum only for those column whose all sum are not blank, how can i show blank sum values I mean there are 7 companies but only 4 records are shown. …

Member Avatar for drmrkrch
0
164
Member Avatar for Majestics

How to take a user table backup from that user account? I mean i want to give him grants to take backup... also query to take backup.

Member Avatar for Majestics
0
111
Member Avatar for ShadyTyrant

I need a little help connecting to an oracle database. I keep getting this error: Data provider internal error(-3000) [System.String]. [CODE=C#] using System; using System.Collections.Generic; using System.Linq; using System.Text; using Oracle.DataAccess.Client; using Oracle.DataAccess.Types; namespace OrcaleTest { class Program { static void Main(string[] args) { string connectionString = "user id=travus;password=password;data source=127.0.0.1"; …

Member Avatar for stbuchok
0
596
Member Avatar for pro_learner

I installed Oracle 11g R2 on my Windows 7 64-bit OS.When i'm trying to login to SQL Plus,i can't.As i remember my Username and password is correct.Is there any method to login without giving username and password? or is there a way to get my username & password?Please help me....

Member Avatar for pro_learner
0
263
Member Avatar for abrarHuniedi

hiiiiiiii I want some help from you I want to start learn orcal just basic I dont know if I can use sql in microsoft tell me If I need to download any things? thanks

Member Avatar for debasisdas
0
105
Member Avatar for bangla

Hi, I am trying to find out list of employees who have no dept_id. Below code works. [B]select e.emp_id, e.last_name, e.dept_id from employees E where dept_id IS NULL[/B] Below code does not work. i want to rewrite the query using NVL to replace the value by 0. does not work. …

Member Avatar for urtrivedi
0
113
Member Avatar for bhob

hey guys, i have a query wherein one table has the same id as the other using inner join.. SELECT c.cat_name, g.maxscore, g.description FROM grp_performance INNER JOIN category ON g.cat_id = c.cat_id Is it possible to use inner join when deleting a row? like.. DELETE FROM grp_performance INNER JOIN category …

Member Avatar for hfx642
0
283
Member Avatar for rolandsmokit

Imagine my surprise when I logged onto Daniweb and saw a scrolling advert for IBMs Informix database. I've been using Informix for years and it is an incredibly elegant bit of code, and the object extensions you can use are totally unique. I'd always thought of Informix as a secret …

Member Avatar for \007
0
241
Member Avatar for firoz.raj

Can anybody tell me the difference between a Primary key and a Unique Key ?Kindly let me know the idea.Any help would be highly appreciated.

Member Avatar for gana poduval
0
78
Member Avatar for tahir_77

I have VS 2008 on Win 7 Professional 64bit system and database is Oracle 11g r2 installed on the same machine. In Data Source Configuration Wizard --> New Connection Data Source: Oracle Database (Oracle Client) When I click Test Connection after entering Service name, username, and password I get the …

Member Avatar for tahir_77
0
60
Member Avatar for Majestics

Can any one give a useful link to learn oracle report server and also how to connect it with java application.... Thank you.

Member Avatar for debasisdas
0
76
Member Avatar for Majestics

Can any one give a useful link to learn oracle report server and also how to connect it with java application.... Thank you. Require second question answer....

Member Avatar for Majestics
0
133
Member Avatar for Majestics

Oracle accept dates in '00-JAN-0000' format, is there any way i can change it to '00-01-0000'.

Member Avatar for debasisdas
0
159
Member Avatar for Arjun_Sarankulu

I have an application in which user will put the query in text box and will get the output in gridview and i need to keep track that which user has run which query. for that i will be taking query from textbox and store in one variable I need …

Member Avatar for Majestics
0
129
Member Avatar for fkcares

hi i already have oracle virtual box installed on my system , i need to find out if i could install vsphere client on it , or i have to install vmware? Thanks

Member Avatar for fkcares
0
129
Member Avatar for Naveed_786

Dear all, Can any one tell me how can i take bakup on Every minute and hourly and complete whole day backup using VB.NET i.e i want to know the coding example Thanks in advance

Member Avatar for debasisdas
0
409
Member Avatar for Behseini

Hi, Could you please let me know if we can install Oracle 11 g R2 on Ubuntu Desktop 11.04? If + , can you please introduce me a tutorial which I can follow that? Best Regards,

Member Avatar for debasisdas
0
42
Member Avatar for Behseini

Hi Guys, This looks a little bit silly question but I really have problem with unzipping the oracle Oracle Database 11g Release 2 downloaded files. I am trying to install oracle on my Windows Vista and according to the Oracle download webpage : [CODE]Directions 1. All files are in the …

Member Avatar for debasisdas
0
146
Member Avatar for amithlaxman

Hi, I have four tables tab1,tab2,tab3 & tab4 [CODE] #contents of tab1: Id dataname 222 perl [/CODE] [CODE] #contents of tab2: Id data_desc 222 perl is a scripting language [/CODE] [CODE] #contents of tab1: Id other_desc 222 Regular expression [/CODE] [CODE] #contents of tab1: Id date 222 22-33-1964 [/CODE] I …

Member Avatar for hfx642
0
399
Member Avatar for agaba

I create a procedure to update table but when I execute to test the procedure with PRINT :g_name_pd show nothing as been change .. Can you guy's help where I m doing wrong Thanks Agaba[code]CREATE OR REPLACE PROCEDURE update_name_pd (p_name IN bb_product.productname%TYPE, p_id OUT bb_product.idproduct%TYPE ) IS BEGIN UPDATE bb_product …

Member Avatar for hfx642
0
97
Member Avatar for himmat.m4

Hi, I want do pagination per page show only 25 records. Here is fetching data is too large and there I can't use rownum for that. in fetching data there is no any unique column. so tell me how can do it? Thnaks in advance.

Member Avatar for hfx642
0
68
Member Avatar for divyakprabh

Hi, Im using Oracle 11g, and i have a query like select * from test where ID_PRIVILEGES = 'ADMIN'; but in database ID_PRIVILEGES is stored as Admin, I want case insensitive search to be done. I cannot change my query as select * from test where ID_PRIVILEGES = 'Admin'; Can …

Member Avatar for divyakprabh
0
263
Member Avatar for Naveed_786

Can nay one tell me how can i set user permissions on form level to control user i.e i want to allow user1 only add permission and uer2 should have both add and edit permission how to do it on form level. Thanks in advance.

Member Avatar for hfx642
0
452
Member Avatar for Mykal73

I have an application which updates some files overnight from an oracle server. the application runs fine until at the very end when it closes. Then I get the message "Application has encountered a problem and needs to close. We are sorry for the inconvenience." when I click on the …

Member Avatar for Mykal73
0
114
Member Avatar for himmat.m4

I am getting data by view but there is too large data. so I want to select data in particular slab (i.e. 25 rec) but in my resulting data there is no any unique record in column for fetching. so please give me solution. selection records like rows 1 to …

Member Avatar for urtrivedi
0
149
Member Avatar for BattleBlazer

Hi This post is more for information purposes rather than help. I have just been tasked to investigate the upgrade for our applications to run on Windows 7. Oh, yes - easy one might say... Not!! We have a few applications running on a central Oracle server. To upgrade the …

0
43

The End.