![]() |
|
|
|
Registered
Join Date: Jan 2003
Location: Orange County, CA
Posts: 66
|
OT - SQL to ACCESS HELP
I need to run some queries on a few tables out of a SQL database.
I've got it all setup in a Access DB to massage the data and extract all i need, ect. Problem is SQL uses the int(11) format for dates and the Access doesn't convert it. I can't find my F'n SQL books and find the proper syntax to convert the table before i run the query. anybody got a quick down and dirty way to convert the date? Already tried Excel and didn't find what i need. Thanks for any help or resources. give me a nugget and i'll crawl back under my rock and finish this crap ![]()
__________________
71 914 2.6L Big 4 Midnight Blue Pearl 72 914 V-8 32' Uniflite Sports Sedan "Island Chaser" |
||
![]() |
|
Registered
Join Date: Jan 2006
Location: san diego, ca
Posts: 14
|
I linked a SQL DB table into Access, then did a Insert Into using date/time data records from the linked SQL table into an Access table, and had no trouble.
Maybe, you can create a view in SQL on the table with this kind of thing on the date field SELECT CONVERT ( varchar(8) , {datefield}, 112 ) + ' ' + CONVERT ( varchar(8) , {datefield}, 108 ) from
DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc. |