CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: sql problem

  1. #1
    Join Date
    Feb 2001
    Location
    New Jersey
    Posts
    312

    sql problem

    ALTER TABLE tblEarningsDeds ADD AllowSplitOverride varchar(1)

    I need to somehow tell that this field can be zero length... Its an access database I am working on....

    I cant figure out what I need to do with the statement....
    http://www.dewgames.com
    Shareware and Free games!

  2. #2
    Join Date
    Jul 2003
    Location
    Florida
    Posts
    651
    I'm not all that familiar with ALTER TABLE, but I've read somewhere that you can do:

    ALTER TABLE tblEarningsDeds ADD AllowSplitOverride varchar(1) NULL

    or

    ALTER TABLE tblEarningsDeds ADD AllowSplitOverride varchar(1) NOT NULL

    to tell Access if Nulls are allowed or not.


    Hope that helps!

    Fiona

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured