Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7944615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:36:17+00:00 2026-06-04T00:36:17+00:00

I am trying to create the following table but it wont create?? use [TagHolderDB]

  • 0

I am trying to create the following table but it wont create??

use [TagHolderDB]
CREATE TABLE TBLSearchTags 
(
  TagID int(11), --NOT NULL AUTO_INCREMENT,
  Tagterm varchar(255) NOT NULL DEFAULT '',
  Tagcounter int(11) NOT NULL DEFAULT '1',
  TaglastSearch datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (TagID),
  --KEY Tagterm  (Tagterm)
) --ENGINE=TagHolderDB;

The Current error is:

Msg 2716, Level 16, State 1, Line 2 Column, parameter, or variable #1:
Cannot specify a column width on data type int.

There is also different errors when i move away the comments —

I need it all to work as i am following a tutorial, Could some one tell me what i’m doing wrong?

Errors when i remove the — comments:

Msg 102, Level 15, State 1, Line 4 Incorrect syntax near
‘AUTO_INCREMENT’.

Msg 156, Level 15, State 1, Line 9 Incorrect syntax near the keyword
‘KEY’.

Msg 102, Level 15, State 1, Line 10 Incorrect syntax near ‘=’.

If someone could explain to me what ENGINE does that would be great to.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T00:36:19+00:00Added an answer on June 4, 2026 at 12:36 am

    Int datatype does not have length.

    Try this:

    use [TagHolderDB]
    CREATE TABLE TBLSearchTags 
    (
      TagID int, --NOT NULL AUTO_INCREMENT,
      Tagterm varchar(255) NOT NULL DEFAULT '',
      Tagcounter int NOT NULL DEFAULT '1',
      TaglastSearch datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
      PRIMARY KEY (TagID),
      --KEY Tagterm  (Tagterm)
    ) --ENGINE=TagHolderDB;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got the following table: CREATE TABLE `products_quantity` ( `id` int(11) NOT NULL auto_increment,
I'm trying the following: CREATE TABLE Table1 ( RecordNo autonumber, --error here! PersonId varchar(50),
I'm trying to a create an update statement along the following lines: TABLE car:
i'm trying to create following layout: http://jsfiddle.net/BTuMH/1/ but without setting the width, like: http://jsfiddle.net/yuGyg/
I'm trying to create a lookup table of member functions in my code, but
I'm trying to create the following layout for my website: <table width=80% align=center> <tr>
I'm trying to optimize a procedure that has code like the following: CREATE TABLE
I have the following table: I am trying to create an SQL query that
I'm trying to create a table in android database, but when i try to
I'm trying to run a query on a very simple table but I'm not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.