473,480 Members | 1,887 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ODBC String

Hi,

I have an ODBC connection to an SQL server database set up in my data
sources. Is there a way I can use this to create a connection string I could
use in a pass-through query? Otherwise is there a template of a string I
could use and just change the server/database names in it?

Cheers,
Chris

Nov 12 '05 #1
3 2138

"Not Me" <No****@faker.fake.fa.kee> wrote in message
news:c7**********@ucsnew1.ncl.ac.uk...
Hi,

I have an ODBC connection to an SQL server database set up in my data
sources. Is there a way I can use this to create a connection string I could use in a pass-through query? Otherwise is there a template of a string I
could use and just change the server/database names in it?

Cheers,
Chris


have you tried here

http://www.connectionstrings.com/
Nov 12 '05 #2
once you have the passthrough query created
goto the query properties (right click on the top bar)
and click at the end of the 'odbc connect str' to browse to a dsn you
wish to use and you can save the password in the string

"Not Me" <No****@faker.fake.fa.kee> wrote in message news:<c7**********@ucsnew1.ncl.ac.uk>...
Hi,

I have an ODBC connection to an SQL server database set up in my data
sources. Is there a way I can use this to create a connection string I could
use in a pass-through query? Otherwise is there a template of a string I
could use and just change the server/database names in it?

Cheers,
Chris

Nov 12 '05 #3
"Roger" <le*********@natpro.com> wrote in message
news:8c*************************@posting.google.co m...
"Not Me" <No****@faker.fake.fa.kee> wrote in message news:<c7**********@ucsnew1.ncl.ac.uk>...
I have an ODBC connection to an SQL server database set up in my data
sources. Is there a way I can use this to create a connection string I could use in a pass-through query? Otherwise is there a template of a string I
could use and just change the server/database names in it?

once you have the passthrough query created
goto the query properties (right click on the top bar)
and click at the end of the 'odbc connect str' to browse to a dsn you
wish to use and you can save the password in the string


Aha! fantastic, never spotted that before :p

Cheers,
Chris
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
13859
by: Riccardo | last post by:
Hi, This jsp code doesn't run. Why ? ----------------------------------------------------------- <%@ page import="java.sql.*" %> <%! String Query(String SQL, String DSN) {
0
5194
by: Sean Anderson | last post by:
ODBC under System DSN Setup Access Driver give it the DSN (Data Source Name) MSA Click on Select and point to the myfile.mdb (your database file)
0
2225
by: Marco Aschwanden | last post by:
Hi - Win2000 - Python 2.3.3 - py2exe 0.5.0 - eGenix Comercial & Base Package I am developing an app using mxODBC. On the home page they say ...
3
6165
by: Lauren Quantrell | last post by:
Maybe a dumb question - I'm new to ODBC. How do I install an Access ..mde file on a user's workstation and create the ODBC connection to the backend SQL Server database without having to go through...
5
40378
by: Alec | last post by:
Hi All, I am currently trying to link in Access 97 to a table in a MSSQL 7 server. Initially the link is fine, however, when I close the access database and re-open it from the same network...
3
4567
by: juststarter | last post by:
Hello all, I am executing a stored procedure (on an SQL Server) using ODBC but i can't get the output parameter's value on the client. The stored proc has 3 parameters ,2 of them are input and 1...
0
11997
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
3
12910
by: Greg Strong | last post by:
Hello All, Is there any way to close an ODBC connection via DSN without completely closing the Access front-end? I'm doing some testing with using Access as a front-end to Oracle 10g Express...
8
9605
by: Greg Strong | last post by:
Hello All, The short questions are 1 Do you know how to make DSN connection close in Access to Oracle 10g Express Edition? &/or 2 Do you know how to make a DSN-less pass-through query...
4
2518
by: Michael Kintner | last post by:
How do I create and ODBC connection enbedded inside a link???? The upsizing wizard worked great however when it created the ODBC connection somehow it enbeddeds the link and does not add to USER...
0
7037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7076
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4767
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2990
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.