Ask a Question related to Coldfusion Database Access, Design and Development.
-
schep #1
Date converson for JDBC
my site was just moved to MX 6.1 and the system is complaining it can't convert
the date for insertion into a SQL Server 7 "short date" field. I know JDBC
doesn't like the ODBC date format but nothing I try is accepted. Must the CF
Administrator change an attribute on the server? Thanks for any help!
schep Guest
-
CFMX and Oracle 10G JDBC no longer retrieves timestampwith date
I'm running CFMX with Oracle 10g client loaded My data source is Other; JDBC URL: jdbc: oracle: oci:@TMS; Driver Class: oracle.jdbc.OracleDriver... -
JSObject returns wrong date. How can Iextract correct date from digital signature?
I'm trying to extract name and date from digital signatures by using JSObject in Excel VBA, but JSObject returns wrong date. Year, month, hour and... -
#39245 [NEW]: date function generate wrong date with 1162083600 timestamp
From: lohner at aldea dot hu Operating system: Linux PHP version: 5.1.6 PHP Bug Type: Date/time related Bug description: ... -
CFMX and Oracle 10G JDBC no longer retrievestimestamp with date
I am using ColdFusion 7 are you using 6.1? -
Convert date/time to date in SQL Server 2000 statement
Can this be done? tia -
paross1 #2
Re: Date converson for JDBC
You could use the SQL Server getdate() function instead of CF's #now()#
function, but if you really want or need to use #now()#, you might just CAST it
to a smalldatetime datatype:
INSERT INTO table (datecol)
VALUES (CAST(#now()# AS smalldatetime))
Phil
paross1 Guest



Reply With Quote

