Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Help with Error on SQL DB when running
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Help with Error on SQL DB when running

 Post Reply Post Reply Page  <12
Author
nguyencno5 View Drop Down
Groupie
Groupie


Joined: 26 November 2003
Status: Offline
Points: 62
Post Options Post Options   Thanks (0) Thanks(0)   Quote nguyencno5 Quote  Post ReplyReply Direct Link To This Post Posted: 20 January 2004 at 7:02pm
thank you all.. it did fix my problem.. My forum is running on SQL now..


Thanksssssss!
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 January 2004 at 7:12pm
Originally posted by Jesper Jesper wrote:

ok... I've figured it out.

There's a bug in the creation of tables on the MSSQL server on Borg's behalf.

The Author_ID column in the tblAuthors table is set to 'integer'. In the Access version this is 'autonumber'. I set the Identity property of the column to 'Yes', Identity seed to 1 and finally Identity increment to 1.

That fixed that problem  ... I'm not too sure if that solution causes other problems ? Borg?



There isn't a bug in my SQL server creation file, see the following line from the file sets the Author_ID field to interger; Indentity, incrementing by 1 and not allowing nulls:-

strSQL = strSQL & "[Author_ID] [int] IDENTITY (1, 1) PRIMARY KEY  CLUSTERED  NOT NULL ,"
Back to Top
Jesper View Drop Down
Newbie
Newbie


Joined: 18 February 2003
Location: Denmark
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jesper Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2004 at 2:14am
Wierd, I'm puzzled why the table we created without setting the identity property
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.