I'm trying to extract some data to files to insert into an
oracle table and I'm having difficulty in getting the date
formatted so that oracle can read it. How do I get a date
out of SQL Server so that it will conform to dd-mon-yyyy
and Oracle won't cough and sputter?
Don't know what Oracle will accept but you can use CONVERT() to format the
date into any kind of string you wish. Specifically the 130 option sounds
like what your after. Check out CONVERT() in BooksOnLine.
Andrew J. Kelly SQL MVP
"Ptaz" <ptaz@.comcast.net> wrote in message
news:1df3801c454a4$9da12550$a501280a@.phx.gbl...
> I'm trying to extract some data to files to insert into an
> oracle table and I'm having difficulty in getting the date
> formatted so that oracle can read it. How do I get a date
> out of SQL Server so that it will conform to dd-mon-yyyy
> and Oracle won't cough and sputter?
Sunday, February 19, 2012
Date Conversion
Labels:
anoracle,
conversion,
database,
date,
dateformatted,
difficulty,
extract,
files,
insert,
microsoft,
mysql,
oracle,
server,
sql,
table
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment