473,394 Members | 1,797 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,394 software developers and data experts.

Need help with some datatypes in an Access2k-SQL-Statement

I,ve got the following Script to Use on MS Access. So far it works
just fine, but I want to set "Auto-Increment" to the field
"test16_auto_long", but I don't know the expression Access wants to
have.
The same problem I have with the datatype "OLE-Object".

So here my question: how are these two datatypes called in Access-SQL?
Hope it's possible.
CREATE TABLE tblTest
(
test1_short_int Short not NULL,
test2_norm_int Integer NULL,
test3_long_int Long NULL,
test4_single Single NULL,
test5_double Double NULL,
test6_rep_ID GUID NULL,
test7_dezimal Double NULL,
test8_text_255 Text (255) NULL,
test9_währ_allg_zahl Currency NULL,
test10_währ_währung Currency NULL,
test11_währ_euro Currency NULL,
test12_memo Memo NULL,
test13_dat_standard Date NULL,
test14_dat_zeit Date NULL,
test15_dat_dat Date NULL,
test16_auto_long Long NULL,
test17_bool_j_n Bit NULL,
test18_bool_true_false Bit NULL,
test19_bool_on_off Bit NULL,
test20_ole_objekt Binary NULL,
test21_hyperlink Memo NULL
);

================================================== ========
================================================== ========

Ok, and I have just an other question. The above SQL-statement is
created out of VB. I analyze the structure of existing tables and out
of this information this SQL-string is created. But I didn't manage to
get the Primary Key out of a table via VB. How can I get this?

thx in advance.
Nov 12 '05 #1
1 2380
Thank you.
But I've got another question like this.

test21_hyperlink Memo NULL <-- should be a hyperlink (datatype?)
test7_dezimal Double NULL <-- should be a decimal (datatype?)
"Terry Kreft" <te*********@mps.co.uk> wrote in message news:<bj**********@newsreaderm1.core.theplanet.net >...
...
test16_auto_long COUNTER NULL,
...
test20_ole_objekt LONGBINARY NULL,
...

Terry

"KePaS" <ke***@o2online.de> wrote in message
news:e8**************************@posting.google.c om...
I,ve got the following Script to Use on MS Access. So far it works
just fine, but I want to set "Auto-Increment" to the field
"test16_auto_long", but I don't know the expression Access wants to
have.
The same problem I have with the datatype "OLE-Object".

So here my question: how are these two datatypes called in Access-SQL?
Hope it's possible.
CREATE TABLE tblTest
(
test1_short_int Short not NULL,
test2_norm_int Integer NULL,
test3_long_int Long NULL,
test4_single Single NULL,
test5_double Double NULL,
test6_rep_ID GUID NULL,
test7_dezimal Double NULL,
test8_text_255 Text (255) NULL,
test9_währ_allg_zahl Currency NULL,
test10_währ_währung Currency NULL,
test11_währ_euro Currency NULL,
test12_memo Memo NULL,
test13_dat_standard Date NULL,
test14_dat_zeit Date NULL,
test15_dat_dat Date NULL,
test16_auto_long Long NULL,
test17_bool_j_n Bit NULL,
test18_bool_true_false Bit NULL,
test19_bool_on_off Bit NULL,
test20_ole_objekt Binary NULL,
test21_hyperlink Memo NULL
);

================================================== ========
================================================== ========

Ok, and I have just an other question. The above SQL-statement is
created out of VB. I analyze the structure of existing tables and out
of this information this SQL-string is created. But I didn't manage to
get the Primary Key out of a table via VB. How can I get this?

thx in advance.

Nov 12 '05 #2

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

Similar topics

13
by: Lauren Quantrell | last post by:
Is there a primer somewhere that can tell me code that works perfectly well in Access2K that won't work in 2003? I have been forced to migrate a large 2K app to 2003 and am finding a lot of...
2
by: phillip.s.powell | last post by:
I have to migrate data from one database table to another table in another database where the fields do not match, not even in the same order, and even if they do match, on occasions the datatypes...
1
by: kelvin.koogan | last post by:
Does anyone know what is wrong with the following code and how to fix it? See gnu 3.4.3 errors below. (This code works fine with VS 2003 and earlier versions of gnu). I can get rid of some...
13
by: Arno R | last post by:
Hi all, I am deploying an A2k app to users with different versions of Access. Using Access 2000 the relinking on startup (on deploying a new frontend or when backend has changed) is very fast....
6
by: Jeff | last post by:
Dear experts! ..NET 2.0 I'm trying to make an array containg multiple datatypes. This array will consist of 3 items (string, string, integer): my first try was this, (of course it fails)...
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: 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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
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,...
0
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
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...

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.