Advertisement

11.11.2007 at 02:19PM PST, ID: 22953443
[x]
Attachment Details

MySQL Alter table

Asked by angelalaw in MySQL

Tags: alter, mysql, table

First let me say I am not a MYSQL person and I do not know the syntax for creating tables and so forth.  I do know SQL from stored proecedure stand point in SQL Server.

With that said, I am trying to add an auto_increment assignment to a column that is a primary key...

alter table employee modify empid double not null auto_increment primary key

It says there is a syntax error... I don't know where...

any help is appreciated... I am sure this must be something simple...

Yours in deepest gratitude,

Angela
Start Free Trial
[+][-]11.11.2007 at 02:29PM PST, ID: 20260898

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.11.2007 at 02:53PM PST, ID: 20261023

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.11.2007 at 03:35PM PST, ID: 20261219

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.13.2007 at 07:39PM PST, ID: 20277482

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.15.2007 at 04:57AM PST, ID: 20288512

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: MySQL
Tags: alter, mysql, table
Sign Up Now!
Solution Provided By: angelalaw
Participating Experts: 2
Solution Grade: B
 
 
[+][-]03.01.2008 at 07:05PM PST, ID: 21024751

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.01.2008 at 07:34PM PST, ID: 21024815

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.01.2008 at 07:42PM PST, ID: 21024825

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.01.2008 at 07:55PM PST, ID: 21024867

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.02.2008 at 06:42AM PST, ID: 21026096

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03.02.2008 at 06:42AM PST, ID: 21026098

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03.02.2008 at 07:17AM PST, ID: 21026210

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.02.2008 at 07:44AM PST, ID: 21026347

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628