473,385 Members | 1,922 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Two Linked Table Problem

Hi all, I have encountered two problems when using linked tables; the linked
table is connected to SQL server 2000.

1) How can I add the N prefix of a string constant in a query in order to
search for double byte characters? I found that the search returns no result
if no N prefix is added. If I use passthrough query, it works. Any
suggestion if I do want an access select query instead of passthrough query
in this case?

2) There will be a table locks in the SQL server if I browse a link table
directly. Is there any possible way such that the cursor if at client side
instead of server side so that no table is locked if I browse a table? Thx!!
Nov 12 '05 #1
3 6151
Not sure I can help with the first question - without access to the
tables, etc.
The second one - if you create a pass through query to the MS SQL
table you will not lock the table as you browse. Directly linking to
the MS SQL table will cause significant locking/performance issues on
SQL Server

"Freelobly Li" <ah***@hotmail.com> wrote in message news:<bo**********@hfc.pacific.net.hk>...
Hi all, I have encountered two problems when using linked tables; the linked
table is connected to SQL server 2000.

1) How can I add the N prefix of a string constant in a query in order to
search for double byte characters? I found that the search returns no result
if no N prefix is added. If I use passthrough query, it works. Any
suggestion if I do want an access select query instead of passthrough query
in this case?

2) There will be a table locks in the SQL server if I browse a link table
directly. Is there any possible way such that the cursor if at client side
instead of server side so that no table is locked if I browse a table? Thx!!

Nov 12 '05 #2
Actually the database is given for a semi-technical user to use that
his level of query technique is just up to building simple query. It
is not exepected that he is able to build any pass through query. So I
just want to find out if client side cursor is possible to use so that
the result set is downloaded to Access first so that no table locking
is done.

Me****@ComputerSOSNJ.com (MeadeR) wrote in message news:<32*************************@posting.google.c om>...
Not sure I can help with the first question - without access to the
tables, etc.
The second one - if you create a pass through query to the MS SQL
table you will not lock the table as you browse. Directly linking to
the MS SQL table will cause significant locking/performance issues on
SQL Server

"Freelobly Li" <ah***@hotmail.com> wrote in message news:<bo**********@hfc.pacific.net.hk>...
Hi all, I have encountered two problems when using linked tables; the linked
table is connected to SQL server 2000.

1) How can I add the N prefix of a string constant in a query in order to
search for double byte characters? I found that the search returns no result
if no N prefix is added. If I use passthrough query, it works. Any
suggestion if I do want an access select query instead of passthrough query
in this case?

2) There will be a table locks in the SQL server if I browse a link table
directly. Is there any possible way such that the cursor if at client side
instead of server side so that no table is locked if I browse a table? Thx!!

Nov 12 '05 #3
If you create a pass through query, say:
Select *
From tblMSSQL
and name it ptSQL

you can then call that query from another access query and/or query wizard - such
as:
Select *
From ptSQL

That's one of the best things about Access - one query can easily call another
so you can build complexity one step at a time

ah***@hotmail.com (Freelobly Li) wrote in message news:<17**************************@posting.google. com>...
Actually the database is given for a semi-technical user to use that
his level of query technique is just up to building simple query. It
is not exepected that he is able to build any pass through query. So I
just want to find out if client side cursor is possible to use so that
the result set is downloaded to Access first so that no table locking
is done.

Me****@ComputerSOSNJ.com (MeadeR) wrote in message news:<32*************************@posting.google.c om>...
Not sure I can help with the first question - without access to the
tables, etc.
The second one - if you create a pass through query to the MS SQL
table you will not lock the table as you browse. Directly linking to
the MS SQL table will cause significant locking/performance issues on
SQL Server

"Freelobly Li" <ah***@hotmail.com> wrote in message news:<bo**********@hfc.pacific.net.hk>...
Hi all, I have encountered two problems when using linked tables; the linked
table is connected to SQL server 2000.

1) How can I add the N prefix of a string constant in a query in order to
search for double byte characters? I found that the search returns no result
if no N prefix is added. If I use passthrough query, it works. Any
suggestion if I do want an access select query instead of passthrough query
in this case?

2) There will be a table locks in the SQL server if I browse a link table
directly. Is there any possible way such that the cursor if at client side
instead of server side so that no table is locked if I browse a table? Thx!!

Nov 12 '05 #4

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

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
20
by: Neil | last post by:
I have an Access 2000 MDB file with a SQL 7 back end. I have a main table with 50,000 records; and I have a selections table with 50,000 records for each machine that uses the database (about...
2
by: Robert McGregor | last post by:
Hi all, I've got a Front End / Back End database that was working just fine. One day i opened the FE to find that if I tried to open one of the linked tables from the database window, nothing...
3
by: Michael Plant | last post by:
Hello one and all. I have a stored table in my database and the form I'm using is based on a query that draws data from my stored table and a linked table. The linked table is a *.txt file. ...
5
by: b b | last post by:
I created the following code to delete all linked tables in my database (Access 200): -------------------------------------------------------- Dim tbl As TableDef Dim dbs As Database Set dbs...
7
by: Joe | last post by:
I am using Access 2003 and are linking to an Oracle 9i ODBC datasource (using Oracle ODBC drivers). After linking the tables in Access, I inspect the data contained in the linked tables. For...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
11
by: bofh1234 | last post by:
Hello, I am having a problem with linked lists. My program is based on a client server model. The client sends some packets of data to the server. The server reads those packets and is...
0
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may...
9
by: erick-flores | last post by:
If you have access to the database that the linked table is in, modify it there. You can't modify a linked table. Alternatively, you can import the linked table, then it won't be linked any more...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.