Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



Databases Interview Questions
Questions Answers Views Company eMail

how to get the rowid/rownumbes of a table in sqlserver

IBM,

7 19593

Do view contain data?

Ramco,

6 11512

select 1,col1,col2 from table1. output?

Ramco,

5 10450

What is integrity constraints?

Ramco, Satyam,

5 20922

use of IN/ANY/ALL

Ramco,

5 11182

how can u select the Distinct values in the table, table having 20 columns , i want all columns

2 7418

Can anyone give me information about oracle certification

1 4582

How to select Distinct columns from the table, table having 20 columns and i want all coulmns

Wipro,

5 10951

What is The Use Of TIMESTAMP DataType in SQL Server 2005?

6 21597

where the connection string store in the database

HCL, Wipro,

2074

what do u mean by canvases and alerts?

2013

how to give input dynamically to a insert statement in sqlserver

HCL,

3 8494

what is dba_segment

4 10135

I've got a database 10g and Form version 5.0 but unable to connect. Does Oracle 10g database supports form 4.5

jusco,

2523

1. What are the grouping function in SQL ? 2. If base table of a view deleted means, what will happen while we querying on view ? will give any error ? 3. Difference between DROP, DELETE, TRUNCATE table ? 4. What is constraints and types ? 5. What is max size of nchar & nvarchar ? 6. Define ROLLBACK, COMMIT, SAVE POINT 7. How non-clustered better ? or rank the Clustered, Non-Clustered and Table scan in performance wise 8. Select 10 rows from a table ? 9. Define DML, DDL, DCL, DTL commands ? 10. What is mean by NULL value ? NULL means "" or 0 or undefined ? 11. Default constraints ? 12. Can we have more then primary Key in table ? 13. Type of integrity ? Entity, Referential, Domain ?

Perot Systems,

10 18588


Un-Answered Questions { Databases }

Which database is used by google?

988


create or replace procedure search_matter(empno varchar2) as sql_stmt varchar2(200); stmt varchar2(200); v_table_name varchar2(200); val_pres number; inp_value varchar2(200); type obj_typ is table of cols.column_name%type index by binary_integer; type all_col is table of varchar2(100) index by binary_integer; typ_obj_typ obj_typ; typ_all_col all_col; begin select object_name bulk collect into typ_obj_typ from user_tables,user_objects where table_name = object_name AND object_type = 'TABLE'; select empno into inp_value from dual; dbms_output.put_line('inp value : '||inp_value); for i in typ_obj_typ.first..typ_obj_typ.last loop v_table_name := NULL; v_table_name := typ_obj_typ(i); dbms_output.put_line(i||':'||typ_obj_typ(i)); dbms_output.put_line('....................'); sql_stmt := 'select column_name from cols where table_name = :1 and data_type in (''CHAR'', ''VARCHAR2'', ''NCHAR'', ''NVARCHAR2'',''NUMBER'')'; EXECUTE IMMEDIATE sql_stmt bulk collect into typ_all_col using typ_obj_typ(i); for inside in typ_all_col.first..typ_all_col.last loop dbms_output.put_line('sql stmt: '||sql_stmt); dbms_output.put_line('column name: '||typ_all_col(inside)||'table name: '||typ_obj_typ(i)); stmt := 'select count(*) from ||typ_obj_typ(i)||'; EXECUTE_IMMEDIATE stmt into val_pres ; if val_pres = 1 then dbms_output.put_line('value present col name: '||typ_all_col(inside)||'table name :'||typ_obj_typ(i)); end if; end loop; dbms_output.put_line('....................'); end loop; exception when others then dbms_output.put_line('sql code '||sqlcode||'Table name: '||v_table_name); dbms_output.put_line('sql message '||sqlerrm); end; Compile-time I am getting below error, Plz help to resolve. LINE/COL ERROR -------- ----------------------------------------------------------------- 47/23 PLS-00103: Encountered the symbol "STMT" when expecting one of the following: := . ( @ % ;

1001


What is the difference between DataRow.Delete() and DataRow.Remove()?

1230


What are the different tcl commands in sql?

1178


What is row_number()?

987


How do I fix a crashed mysql database?

963


can you tell how can you display the maximum salary in sql? : Mysql dba

867


What are dml commands?

1023


How to write character string constants or literals in ms sql server?

1028


What is benefit of creating memory optimized table?

974


how can you schedule a job in database?

1127


How to create new tables with "select ... Into" statements in ms sql server?

991


How many indexes can be created on a table?

1154


What is cartesian join in sql?

1135


What is a trigger and what are its types in oracle?

1075