Oracle SQL Questions and Answers

Recent IT Questions

21 - 39 of 39
<<PREVIOUS 1|2 NEXT>>

Search for a keyword in all columns of all database tables

Dear Team, i have an requirement that : i want to search all the columns of all the tables in the particular database based on the specific key word or an free text. example : table 1: columns data empname sam empid 01 table 2 columns data deptname sam departmentid 10 table 3 columns data...

Answer Question   |  Dec 16 2008  9:26 AM GMT
Oracle development, Oracle SQL, Oracle queries
asked by Abdulgani

  5 pts.

How to perform Unique check in PL/SQL

Hi Experts, I need to perform a Unique check on existing record in table X for combination of field in my PL/SQL block before inserting new record into Table XX Table XX for combination of the following field list (X_ID, St1, St2, City, CP, PS, XNAME, C_ID) AND DISPLAY MODE = 0 How can i do this...

Answer Question   |  Dec 10 2008  9:05 AM GMT
Oracle development, Oracle SQL, PL/SQL
asked by Inprise

  525 pts.

How to make or check the attribute (location) in PL/SQL block?

Hi Experts, How to make check the attribute (location) not taking the value same as city(attribute) or country(attribute) in Pl/SQL block Thanks for the help

Answer Question   |  Dec 9 2008  7:49 AM GMT
Oracle development, Oracle SQL, PL/SQL
asked by Inprise

  525 pts.

run oracle 9i with Windows Server 2003 Domain Controller

sir i have windows server 2003 server with DC.just want to install oracle 9i server on that server. and confiugre clinet on widows xp client side.i want to run oracle 9i client through domian user.is any setting or rights of domain user that the user will be able to run oracle application like...

View Answer   |  Dec 4 2008  5:58 AM GMT
Windows Server 2003, SQL, Windows XP
asked by Swapnesh

  5 pts.

Error(7,30): PLS-00103: Encountered the symbol "OUT" when expecting one of the following

I am getting this eror when i compile my procedure with OUT Parameter ,it has got several OUT param ,but only this particular line pops up err msg Error(7,30): PLS-00103: Encountered the symbol "OUT" when expecting one of the following: := . ) , @ % default character The symbol "," was...

View Answer   |  Dec 3 2008  5:16 AM GMT
Oracle development, Oracle SQL, PL/SQL
asked by Inprise

  525 pts.

Error(31,19): PLS-00103: Encountered the symbol "INTO" when expecting one of the following

I got this error while compiling a select stm and it s my pckg body however package parameter hav OUT as well IN .. Error(31,19): PLS-00103: Encountered the symbol "INTO" when expecting one of the following: . ( , % from The symbol "from was inserted before "INTO" to continue. Anbody able...

View Answer   |  Dec 3 2008  5:12 AM GMT
Oracle development, Oracle SQL, PL/SQL
asked by Inprise

  525 pts.

SQL select

SELECT obj.object_type FROM apps.opt_log_issue log, discov.opt_changed_database_objects obj WHERE --(UPPER(log.resolution(+)) like '%'||obj.object_name||'%' -- and trunc(log.resolution_date(+)) - trunc(to_date(substr(obj.last_ddl_time,1,11),'dd-mon-yy')) <=5 -- and...

View Answer   |  Nov 28 2008  11:09 PM GMT
Oracle development, Oracle SQL, SELECT statement
asked by QAQA

  65 pts.

How do you display the number of rows selected if there are only 4 or 5 rows there?

when i have 6 values for any column, in select statement i get display of 6 rows selected while if i have 5 values for one column i don't get display of 5 rows selected, how to get that display?

View Answer   |  Nov 18 2008  4:09 AM GMT
Oracle administration, Oracle SQL, Oracle queries
asked by Minky79

  5 pts.

Linking sqlserver to oracle

How do I create a link to oracle 9i form sqlserver I can tnsping oracle, I can connect via sqlplus, I can connect in odbc admin, I can connect via a udl, I can connect via ssis but I get ORA-12154: TNS:could not resolve the connect identifier specified when I try to set up a link in the management...

View Answer   |  Oct 28 2008  6:12 PM GMT
SQL Server, Oracle SQL, Oracle 9i
asked by Wgself

  25 pts.

Nested Case statement in Oracle BI

I am trying to create a nested case statement in Oracle BI (9.0.4) the statement works when I do it in Oracle SQL*Plus but will not let me keep the whole script in the Calculation.What do I need to doo to have this work in Oracle BI? The statement is as follows: select emp_name, (CASE WHEN...

asked by Nanapap

  5 pts.

Not Return Any Record if Value Exists

If I have a table that has the following data (f1 & f2 are the field names): f1 f2 a 1 a 2 a 0 b 1 b 2 b 3 I want to write a query that would not return b because b has a f2 = 3. So, in other words: I have a table with many records for each id. I do not want to return any records if the id...

View Answer   |  Sep 24 2008  8:32 PM GMT
Oracle, SQL, Oracle SQL
asked by Rjwilcox

  30 pts.

SQL query ORACLE report "Active Users"

I have problems analysing the standard Oracle report "Active Users". I want to get my users into excel but the report lay out sucks. How can i get this report directly from the database?

Answer Question   |  Sep 19 2008  3:25 PM GMT
Microsoft Excel, Oracle SQL, Oracle reporting
asked by Jkort

  5 pts.

to write code

i have created a table "stu" in which the following record exists. stu_id,stu_name,stu_course,stu_marks the stu_marks column output is as follows 822 758 789 658 822 879 598 825 589 785 795 795 658 789 988 what i want is to write query or code (function,procedure or anything) that when i...

View Answer   |  Aug 18 2008  11:06 AM GMT
SQL, Oracle SQL
asked by Daudkhan

  5 pts.

Update deactiviting and throwing ora-600 error

ORA-00600: internal error code, arguments: [25012], [5], [524], [], [], [], [], [] Current SQL statement for this session: UPDATE "JEST" SET "INACT" = :A0 , "CHGNR" = :A1 WHERE "MANDT" = :A2 AND "OBJNR" = :A3 AND "STAT" = :A4

View Answer   |  Jul 1 2008  8:52 AM GMT
Oracle development, Oracle error messages, Oracle SQL
asked by 173831

  10 pts.

sql quries

i m a beginer in computer science.so how can i make grip on oracle sql plus is there any website or any electronic book that contains preset quries on sql which can help me in working in sql i want a guide book which has quries to start and work in sql plus and developer.

View Answer   |  Jun 26 2008  1:21 AM GMT
Oracle, Oracle SQL, SQL Query
asked by Yasir oracle

  5 pts.

Nested SQL with multiple table join does not work with wildcard searches

Dear sir(s): Currently I am working with iBatis with Oracle 10g as the backend. I have a number of jsps or Web pages which take various input parameters in the format of #xxxxxxxx# where xxxxxxxx represents the dataitem from the Javascript. In my sqlmap, there is a complex join involving...

Answer Question   |  Jun 18 2008  12:46 AM GMT
Oracle development, Oracle SQL, Oracle 10g
asked by Masonyujr

  5 pts.

How to exclude certain hours and certain days in a date range in oracle sql

hello, This is the table schema that i have: CREATE TABLE TEST ( COL1 NUMBER NOT NULL, START_TIME DATE NOT NULL, DURATION NUMBER, COL2 NUMBER, CONSTRAINT PK_TEST PRIMARY KEY ( COL1, START_TIME ) This is the query i have to select all the rows within a time range: SELECT ...

View Answer   |  Jun 12 2008  4:41 AM GMT
Oracle development, Oracle SQL
asked by Nida dean

  5 pts.

date functions using Oracle

Hi, I need to display the benefits paid for the current year using SQl,but the year is filtered using the year which is previous year for the current year.the date is in 'yyyymm' format. ex, select year_mnth,benefits_paid from tablename where year_mnth in ('200603','200602','200601') note:it is...

View Answer   |  May 12 2008  6:59 AM GMT
Oracle, SQL, Oracle development
asked by Maha

  15 pts.

Thin Provisioning ?

Interested in any feedback regarding the viability of Thin Provisioning ( via FC SAN attached, not NAS)in a large scale environment. Items of specific interest related to Win2k03,AIX Oracle/MSSQL What vendors solution are you using? Has it worked as expected? Has the added value of T.P overcome...

View Answer   |  Oct 24 2006  1:22 PM GMT
Windows Server 2003, AIX, Thin provisioning
asked by LostinStorage

  0 pts.

21 - 39 of 39
<<PREVIOUS 1|2 NEXT>>