Solved

OleDB connection strings and query format

Posted on 2004-09-13
3
330 Views
Last Modified: 2006-11-17
1) Can someone please show me an example of an Ole Connection String for MS Access, MS Sql Server, and MySql.
2) Are the following queries well-formed Ole querystrings?  If not, how do I fix them?
SELECT [template_DB_PurchasedCodes].[CreationDate] FROM [template_DB_PurchasedCodes] WHERE ([template_DB_PurchasedCodes].[Code] = ?)

INSERT INTO [template_DB_PurchasedCodes] ([Code], [CreationDate]) VALUES (?, ?)

UPDATE [template_DB_TrialCodes] SET [RunsLeft]=? WHERE ([template_DB_TrialCodes].[Code] = ?)
0
Comment
Question by:thedude112286
3 Comments
 
LVL 41

Accepted Solution

by:
shanesuebsahakarn earned 500 total points
ID: 12049369
Have a look here:
http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm

As for the queries, they all look pretty standard and should work on most (if not all) dialects of SQL.
0
 
LVL 34

Expert Comment

by:flavo
ID: 12049482
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 13790800
Please maintain this abandoned question.  See here dro more information:
What are my choices?
http://www.experts-exchange.com/Databases/MS_Access/help.jsp#hi67
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question