473,385 Members | 1,588 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.

Bigint from a SQL Server table and viewing with Access

HI all, we have a table that has it's primary key data type Bigint. Is
there any way with Access to view this table? I find it hard to
believe that two tools from MS don't play nice with each other, may be
I should.

SQL Server 2005
Access 2003

TIA
Mar 17 '08 #1
5 2605
I have seen this problem and it was driver dependent. If I recall correctly
the ODBC driver was problematic, but using OLEDB was fine. You can try to
change drivers if you have different drivers available.

Another work around would be to create a view in SQL Server to cast the
problematic BIGINT column to a different data type (if numbers are smaller
you can try INT, otherwise VARCHAR). Then use the view from Access.

HTH,

Plamen Ratchev
http://www.SQLStudio.com

Mar 17 '08 #2
On Mar 17, 10:32*am, "Plamen Ratchev" <Pla...@SQLStudio.comwrote:
I have seen this problem and it was driver dependent. If I recall correctly
the ODBC driver was problematic, but using OLEDB was fine. You can try to
change drivers if you have different drivers available.

Another work around would be to create a view in SQL Server to cast the
problematic BIGINT column to a different data type (if numbers are smaller
you can try INT, otherwise VARCHAR). Then use the view from Access.

HTH,

Plamen Ratchevhttp://www.SQLStudio.com
Thanks Plamen, kind of feeling dense right now, how do you add a view
in Access? I created a view in SQL Server but can't find the view in
Access. Any quick hints on how to do that?

Thanks!
Mar 17 '08 #3
Views are treated the same as tables. When you link tables in Access and you
point to SQL Server, it should pull both the tables and views in one list (I
believe it is labeled tables, but the views should be in that list too).

HTH,

Plamen Ratchev
http://www.SQLStudio.com

Mar 17 '08 #4
Aye, I was looking at the wrong server. Got it now. However, can we
edit the data in a view from Access? Especially when casting the
primary key to a varchar? This is encouraging so far. Great for
running Access reports if they need it.

Thanks for your help!
Mar 17 '08 #5
I am not sure how this will work with editing data. Access will need the
primary key and it may or may not like the casted column. Try posting in the
MS Access related forums for more help.

HTH,

Plamen Ratchev
http://www.SQLStudio.com

Mar 17 '08 #6

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

Similar topics

1
by: MK | last post by:
I need div two big int. I use this lib: https://sourceforge.net/projects/cpp-bigint/ I create simple project and include two file bigint.h and bigint.cpp (Precompiled headers is not using) When...
3
by: Enzo's Dad | last post by:
I have an SQL back-end with and Access front end. A table in my SQL db has an auto-num field (integer) that has exceded 70000+ entries. I can add no more to this table unless I convert that field...
2
by: Enzo's Dad | last post by:
I have an SQL back-end with and Access front end. A table in my SQL db has an auto-num field (integer) that has exceded 70000+ entries. I can add no more to this table unless I convert that field...
15
by: brettclare | last post by:
I have linked a large SQL Server table to Access, however 'only' 2,195,439 records are shown and are available to query. Can I increase the size (cache??)/number of records showing in Access? ...
0
by: Dan Ruthers | last post by:
Hi, I have read in this list and elsewhere the problem with indexes and big int. Still, I have an index that is used or not, depending of the parameter value used in the query. I am using...
5
by: mamorgan1 | last post by:
We made a poor decision a long time ago when designing our database structure. We used bigint data types as the identity keys for many of our base tables. For many reasons I would like to change...
1
by: rharding | last post by:
I have a SQL database which contains a table (TblA) with a field (Fld1) defined as "bigint". When the SQL table is linked to Access the design view of the linked table shows this field as a data type...
7
by: scoots987 | last post by:
Does anyone have a suggestion to do this? I have a table in SQL Server that has it's primary key as Bigint. When viewing directly with ODBC all the fields and rows show "#Deleted". I've tried to...
39
by: alex | last post by:
I've converted a latin1 database I have to utf8. The process has been: # mysqldump -u root -p --default-character-set=latin1 -c --insert-ignore --skip-set-charset mydb mydb.sql # iconv -f...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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...
0
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.