473,503 Members | 2,152 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to overcome column limit on Access dB uploading to SQL db

3 New Member
I've seen many say exceeding, or approaching, 255 columns is bad form, but no reference to good form. I split my inspection app into multiple tables, but still, when uploading inspections to SQL Server, need to join all tables with all data together. I have 264 inspection points and all must be reported as checked.
Nov 28 '15 #1
6 1222
zmbd
5,501 Recognized Expert Moderator Expert
An SQL server with 200+ columns/fields in a table?
I know that 1000+ is possible; however, I've never seen one and I have a feeling that the maximum bytes/record limit would be hit very quickly - even if using a wide-table and a 64bit install (Maximum Capacity Specifications for SQL Server).

Do you mean records (rows) and not fields (columns)?

If this design is true( :EEK: ) , then there are some deeper issues with both designs that may well be beyond what we normally work with!

I think we need to have a better understanding of how your tables on both sides are designed before we can really be of any help.
Nov 28 '15 #2
dlwyer
3 New Member
Fields. I inherited this project: develop portable database for inspecting the state's dams based on an existing web based database app. Problem is it doesn't work at dams with no internet access, so this app must run on a Surface Pro. There are 260+ inspection points that the government requires. Once inspector is in range of wireless or 4G, they upload/merge inspection data to existing SQL server. There are now an additional dozen fields/columns that need to be added/tracked, so it's now at 270 fields/columns plus photos.
I'm thinking separate tables, then merge each to main in batches. Still need to figure out how to merge 10 tables into one record on one SQL database table. Also wondering if SQL's localDB may be a better backend than accdb
Nov 28 '15 #3
NeoPa
32,557 Recognized Expert Moderator MVP
dlwyer:
I'm thinking separate tables, then merge each to main in batches.
I'm thinking design a table where one field represents the ID of the Inspection Point. That way the data isn't in a {Insert preferred expletive here} mess.

You may want to look at Database Normalisation and Table Structures to see why we're steering you so strongly away from the current approach. I appreciate that you've inherited this, but you won't do yourself any favours trying to proceed on the original lines.
Nov 29 '15 #4
jforbes
1,107 Recognized Expert Top Contributor
I've worked on some occasionally connected inspection software in past and we found it easiest to define a couple tables.

A Header Table something like this:
InspectionID - AutoNumber Field
SerialNumberOfTestItem - String to search and report on
InspectionDate - the Date

A Detail Table to store the Results into:
InspectionID - Linking back to the Header Table
InspectionOrder - The Order in which to perform the Inspection
ReadingType - The Type of Reading/Test to perform
Reading - The Actual Results found

There was a lot more to it, like a Form to define a specific type of Reading/Inspection as well as a Form to group these into a Template for a Type of Inspection, like for a specific Model. But the basic principal is to have multiple records in the Detail Table linked to the Header table. Then you wouldn't need to worry about how many test/inspection points there are because each one would just be another Row in the Table and not a Column.

As to SQL Express or Access. Either could work. Access as the Client UI will probably be the quickest way to develop the application, but it would also require a license per user. If you have the time, you can get a copy of Visual Studio for free. I think they are currently calling it Community Edition. With it, you can use both Access or SQL Express as a database. I think in that scenario, you will need to install a client driver for SQL Express, but you wouldn't for an Access Database. I'm probably missing something on this, but that is the scoop to the best of my memory.
Nov 29 '15 #5
dlwyer
3 New Member
Thank-you. The linked information proved to be a helpful starting point.
Nov 29 '15 #6
NeoPa
32,557 Recognized Expert Moderator MVP
It never hurts to cross-post JForbes. Especially when both are essentially giving the same message. The important thing is that the OP got the message.
Nov 29 '15 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2212
by: K Gibbs | last post by:
Lets say I have two threads which "communicate" via a shared object (passed to them as a reference when they are created). The shared object is primarily composed of getters and setters. In quite...
3
13005
by: Victoria Holowchak | last post by:
I was hoping that Microsoft Access 2002 would allow users to see all the columns of an Oracle database table that contained more than 255 columns. I noticed that my Oracle8 ODBC driver is only at...
2
5042
by: Bas Hamer | last post by:
So someone mentioned that there is a column limit in the .Net framework when you are working w/ datasets. Now I'm pretty sure that my data sets will have less than 400 columns, but it will...
0
1111
by: curious_Lee | last post by:
Hi, all. We're running Windows 2003 Enterprise Edn. with IIS 6. We'd like to limit the access to two of our ASP apps to those who are on the domain -- without using the integrated domain...
1
1076
by: John Mark Howell | last post by:
I'm trying to generate a typed dataset from an XSD, yet if I add more than 90 columns in the XSD I don't see any of the public methods on the type datatable object. I can replicate this easily and...
5
10177
by: Nosferatum | last post by:
I am in need of a solution on how to solve this problem: I need to limit access to six different folders. My users are validated in a system which check their prescence with a couple of...
0
1235
meLady
by: meLady | last post by:
Hello, I have a form called feedback which has three columns and each cell in a column has a combo box that holds (Yes/No/Empty), and I want to count each column's value for example let's supposed...
6
2983
by: Nosferatum | last post by:
Hi, on my Apache server I want to limit access to a certain file ouput (from php/MySQL) to just one IP. The idea is that users from another site should click a link whic redirects them to my...
10
2455
by: Drew | last post by:
I am trying to limit access to certain pages on our intranet, and have been using the following code to do so, dim Login, L, LL, StringLen, NTUser Set Login =...
0
983
by: rhonda2010 | last post by:
Hi, I hope you can help me. I have a program I am developing and I want to be able to limit the time or the amount of times a user can access it. Someone I know wants to try the program out;...
0
7205
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
7093
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
7287
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,...
1
7008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7467
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...
0
5594
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4688
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
3177
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...
1
746
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.