You are on page 1of 1

select * from dbc.

tables
select * from dbc.tables sample 10
Help table <tablename>: For listing of all table columns,
Show table <tablename>: For DDL statement.
select * from sys_calendar.calendar where calendar_date = '1947-08-15'
to get the dates and other details abt the date.
select current_time(For selectinng current-time)
select current_date(for selecting current date)

select count(*) from ARNG_PRFT_ITM_1008.ARNG_PRFT_ITM_1008


SELECT COUNT(*)(decimal(18,0)) from ARNG_PRFT_ITM_1008.ARNG_PRFT_ITM_1008
release lock ARNG_PRFT_ITM_YYMM.ARNG_PRFT_ITM_YYMM;
release lock ARNG_PRFT_ITM_YYMM.ARNG_PRFT_ITM_1108_RAROC;;
drop table ARNG_PRFT_ITM_YYMM.ARNG_PRFT_ITM_YYMM;
drop table ARNG_PRFT_ITM_YYMM.ARNG_PRFT_ITM_1108_RAROC;
delete ARNG_PRFT_ITM_YYMM.ARNG_PRFT_YYYMM ALL;
echo "script started at $(date)"
echo "copying the following files"

You might also like