Database & SQL

Moderators: None (Apply to moderate this forum)
Number of threads: 1174
Number of posts: 2221

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: Foregin Key in SQL Posted by DimDim on 21 May 2003 at 11:11 PM
: : Can someone tell me how to write a Foreign key statement in SQL for MS Access between a int in one table and a Counter that is the PRIMARY KEY for the other table
: :
:
: Don't think that is possible, COUNTER is of type LONG.
: Anyway, I you get it working then your
: DBMS isn't the one I would use
:
: You'll always end up with problems..
:

I solved the problem my self by first Creating the Table and the altering it to add the Foreign Key

Thread Tree
DimDim Foregin Key in SQL on 20 May 2003 at 5:12 AM
Happel Re: Foregin Key in SQL on 20 May 2003 at 11:57 PM
DimDim Re: Foregin Key in SQL on 21 May 2003 at 11:11 PM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.