in table there r so many rows write a query which two rows r
updated last two day befor?
Answers were Sorted based on User's Feedback
Answer / srinivas
select * from <table name>
where rownum<=2
order by last_updated_date
Is This Answer Correct ? | 29 Yes | 6 No |
Answer / ashok kumar lenka
We can solve this by the help of Trigger.
The trigger is for update.which store the update time of the
record of the table. So my query is like this
>select * from emp where to_char(update_column,'dd')=2;
Is This Answer Correct ? | 10 Yes | 5 No |
Answer / narenkumar reddy
select column_name from table_name
where column_name=sysdate-2
Is This Answer Correct ? | 1 Yes | 2 No |
what is the difference between char_length and length? : Sql dba
I need a exceptoin in pl/sql block so that if any errors occur in the block then no exception should errors should raise?
What is range partitioning?
in oracle 10g sw after compiling procedure how to pass parameter values ,if we (v_empid out number)how to give empid after successful compilation program.This site exact suitable for 10g with respect to question & answer same format , im trying sql browser & sql command prompt using exec procedure name & respective parameters.
What is exit statement?
What has stored procedures in sql and how we can use it?
What is a dirty read sql?
What is group function in sql?
What is the difference between UNIQUE KEY and UNIQUE INDEX?
What is the difference between distinct and unique in sql?
how to create a new table by selecting rows from another table in mysql? : Sql dba
What will you get by the cursor attribute sql%rowcount?