Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Plz help me...........
How to make program to diplay name of days in pl/sql

[edit]SHOUTING removed - OriginalGriff[/edit]
Posted
Updated 4-Mar-12 22:25pm
v2
Comments
OriginalGriff 5-Mar-12 4:26am    
DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalisation if you want to be taken seriously.

1 solution

Try this for SQL (according to the tag):
SELECT DATENAME(dw, GETDATE())
-- or
SELECT DATENAME(dw, 1)


Try this for pl/sql:-

SELECT TO_CHAR((sysdate - (TO_CHAR(sysdate,'d') - 1)),'Day') 
FROM DUAL;


Please don't forget to mark this as your answer if it helps you out.

Thanks
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900