by: Amin Schoeib |
last post by:
Hi,
Can somebody tell me why this query don't work when I use to_date
Instead of to_char
By using to_char:
select
to_char(last_day(cast(current_date - interval '1 month' as...
|
by: Praveen |
last post by:
Hi All,
I have some procedures which written in Oracle. Now the requirement
has come to convert those procedures into db2. I used IBM provided MTK
tool to convert the procedures. The tool has...
|
by: Mark Hansen |
last post by:
I'm trying to convert some schema creation scripts that were
used on MS SQL Server to DB2 (v8.2) and have a problem with
the following select statement (snippet) used for a view:
SELECT
col1,...
|
by: gimme_this_gimme_that |
last post by:
What is the DB2 equivalent syntax of Oracle's :
select to_char(created_date,'MM/DD/YYYY') from foo
Thanks
|
by: Wei Wang |
last post by:
I get compile error for this code:
for i in 1..arg_count-1 LOOP
RAISE NOTICE quote_literal(to_char(i, ''9''));
END LOOP;
where arg_count = 3.
I tried RAISE NOTICE to_char(i, ''9''); as...
|
by: Najib Abi Fadel |
last post by:
Hi, i am using PostgreSQL 7.3.2
there's a bug for the date '2005-03-27' !!!!!!!!!!!!!!!!!!!!!!!!!!!
SELECT to_char('2005-03-27'::date,'DD/MM/YYYY');
to_char
------------
26/03/2005
(1 row)
|
by: richasaraf |
last post by:
Hi all,
Please help me out... i want to convert the to_char into number format....
please let em know how to do it...
for eg:
i have a statement : to_char(p_number, 'S000000')
this...
|
by: Jayvh |
last post by:
I have a query that selects and groups by
select to_char(begin, 'mm/dd/rrrr hh24') "STAT HOUR",
document,
avg(stat_hour) 'Mean',
etc.
group by to_char(begin,...
|
by: woodsc |
last post by:
Hi all,
I am trying to optimize the queries in my application. Is there a performance difference between (to_char(myDate,format) < myString) and (myDate < to_date(myString, format)).
ex. ...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|