Pelican Parts
Parts Catalog Accessories Catalog How To Articles Tech Forums
Call Pelican Parts at 888-280-7799
Shopping Cart Cart | Project List | Order Status | Help



Go Back   Pelican Parts Forums > Porsche Forums > Porsche 914 & 914-6 Technical Forum


Reply
 
LinkBack Thread Tools Rate Thread
Author
Thread Post New Thread    Reply
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"
Old 08-30-2006, 08:58 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #1 (permalink)
Registered
 
Cloudbuster's Avatar
 
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

It generates a 'YYYYMMDD HH:MM:SS' formatted string

Feel free to PM me if you want

(Oops, I always assume MS-SQL)
__________________
Maynard
Old 08-31-2006, 08:00 AM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #2 (permalink)
Registered
 
Join Date: Jan 2003
Location: Orange County, CA
Posts: 66
the SQL is in mySQL. i usually like to download it to my server and work with it in Access. it's not a really large DB, so, Access or Excel can chew on it easily.

__________________
71 914 2.6L Big 4 Midnight Blue Pearl
72 914 V-8
32' Uniflite Sports Sedan "Island Chaser"
Old 08-31-2006, 06:05 PM
  Pelican Parts Catalog | Tech Articles | Promos & Specials    Reply With Quote #3 (permalink)
Reply


 


All times are GMT -8. The time now is 05:59 PM.


 
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website -    DMCA Registered Agent Contact Page
 

DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.