<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to create primary key and how add primary key already existing table in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686894#M33087</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table basic (emp_id int not null ,
                    emp_name varchar(20),
																				job_name	varchar(20),
																				manage_id int not null,
																				hire_date	date	,
																				salary				int 	,
																				commission int not null,
																				dept_id				int );


insert into basic values (	68319 , 'KAYLING'  , 'PRESIDENT' ,     ,        1991-11-18,  6000.00  ,              1001	);
insert into basic values ( 66928  'BLAZE'    , 'MANAGER'    ,     68319 ,    1991-05-01,  2750.00    ,            3001	);
insert into basic values ( 67832  'CLARE'     ,'MANAGER'    ,    68319 ,    1991-06-09 , 2550.00    ,            1001	);
insert into basic values ( 65646  'JONAS'     ,'MANAGER'    ,    68319  ,   1991-04-02,  2957.00    ,            2001);
insert into basic values ( 67858  'SCARLET'   ,'ANALYST'    ,     65646   ,  1997-04-19,  3100.00    ,            2001);
insert into basic values ( 69062  'FRANK'     ,'ANALYST'    ,    65646    , 1991-12-03,  3100.00    ,            2001);
insert into basic values ( 63679  'SANDRINE'  ,'CLERK'      ,    69062     ,1990-12-18 ,  900.00    ,            2001);
insert into basic values ( 64989  'ADELYN'    ,'SALESMAN'    ,    66928     ,1991-02-20,  1700.00    ,  400.00 ,  3001);
insert into basic values ( 65271  'WADE'      ,'SALESMAN'    ,    66928     ,1991-02-22 , 1350.00    ,  600.00 ,  3001);
insert into basic values ( 66564  'MADDEN'    ,'SALESMAN'    ,    66928   ,  1991-09-28 , 1350.00    , 1500.00 ,  3001);
insert into basic values ( 68454  'TUCKER'    ,'SALESMAN'    ,    66928   ,  1991-09-08 , 1600.00    ,    0.00    3001);
insert into basic values ( 68736  'ADNRES'    ,'CLERK'       ,    67858    , 1997-05-23 , 1200.00    ,            2001);
insert into basic values ( 69000  'JULIUS'    ,'CLERK'       ,    66928    , 1991-12-03 , 1050.00    ,            3001);
insert into basic values ( 69324  'MARKER'    ,'CLERK'       ,    67832    , 1992-01-23 , 1400.00    ,            1001);


quit;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;51 insert into basic values ( 68319 , 'KAYLING' , 'PRESIDENT' , ,&lt;BR /&gt;51 ! 1991-11-18, 6000.00 , 1001 );&lt;BR /&gt;NOTE: 1 row was inserted into WORK.BASIC.&lt;/P&gt;&lt;P&gt;52 insert into basic values ( 66928 'BLAZE' , 'MANAGER' , 68319 ,&lt;BR /&gt;52 ! 1991-05-01, 2750.00 , 3001 );&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;53 insert into basic values ( 67832 'CLARE' ,'MANAGER' , 68319 ,&lt;BR /&gt;53 ! 1991-06-09 , 2550.00 , 1001 );&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;54 insert into basic values ( 65646 'JONAS' ,'MANAGER' , 68319 ,&lt;BR /&gt;54 ! 1991-04-02, 2957.00 , 2001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;55 insert into basic values ( 67858 'SCARLET' ,'ANALYST' , 65646 ,&lt;BR /&gt;55 ! 1997-04-19, 3100.00 , 2001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;56 insert into basic values ( 69062 'FRANK' ,'ANALYST' , 65646 ,&lt;BR /&gt;56 ! 1991-12-03, 3100.00 , 2001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;57 insert into basic values ( 63679 'SANDRINE' ,'CLERK' , 69062&lt;BR /&gt;57 ! ,1990-12-18 , 900.00 , 2001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;58 insert into basic values ( 64989 'ADELYN' ,'SALESMAN' , 66928&lt;BR /&gt;58 ! ,1991-02-20, 1700.00 , 400.00 , 3001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;59 insert into basic values ( 65271 'WADE' ,'SALESMAN' , 66928&lt;BR /&gt;59 ! ,1991-02-22 , 1350.00 , 600.00 , 3001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;60 insert into basic values ( 66564 'MADDEN' ,'SALESMAN' , 66928 ,&lt;BR /&gt;60 ! 1991-09-28 , 1350.00 , 1500.00 , 3001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;61 insert into basic values ( 68454 'TUCKER' ,'SALESMAN' , 66928 ,&lt;BR /&gt;61 ! 1991-09-08 , 1600.00 , 0.00 3001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;62 insert into basic values ( 68736 'ADNRES' ,'CLERK' , 67858 ,&lt;BR /&gt;62 ! 1997-05-23 , 1200.00 , 2001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;63 insert into basic values ( 69000 'JULIUS' ,'CLERK' , 66928 ,&lt;BR /&gt;63 ! 1991-12-03 , 1050.00 , 3001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;64 insert into basic values ( 69324 'MARKER' ,'CLERK' , 67832 ,&lt;BR /&gt;64 ! 1992-01-23 , 1400.00 , 1001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;65&lt;BR /&gt;66&lt;BR /&gt;67 quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.57 seconds&lt;BR /&gt;cpu time 0.18 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 26 Sep 2020 06:48:30 GMT</pubDate>
    <dc:creator>BrahmanandaRao</dc:creator>
    <dc:date>2020-09-26T06:48:30Z</dc:date>
    <item>
      <title>how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686612#M33062</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table hr_emp (	emp_id int,emp_name varchar(20),job_name varchar(20),
manager_id int primary key , hire_date  date, salary int, commission int primary key);

insert into hr_emp values(	68319,  'KAYLING', 'PRESIDENT',    1991-11-18 , 6000.00  ,     1001);

quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;insert data :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;emp_id | emp_name | job_name  | manager_id | hire_date  | salary  | commission | dep_id
--------+----------+-----------+------------+------------+---------+------------+--------
  68319 | KAYLING  | PRESIDENT |            | 1991-11-18 | 6000.00 |            |   1001
  66928 | BLAZE    | MANAGER   |      68319 | 1991-05-01 | 2750.00 |            |   3001
  67832 | CLARE    | MANAGER   |      68319 | 1991-06-09 | 2550.00 |            |   1001
  65646 | JONAS    | MANAGER   |      68319 | 1991-04-02 | 2957.00 |            |   2001
  67858 | SCARLET  | ANALYST   |      65646 | 1997-04-19 | 3100.00 |            |   2001
  69062 | FRANK    | ANALYST   |      65646 | 1991-12-03 | 3100.00 |            |   2001
  63679 | SANDRINE | CLERK     |      69062 | 1990-12-18 |  900.00 |            |   2001
  64989 | ADELYN   | SALESMAN  |      66928 | 1991-02-20 | 1700.00 |     400.00 |   3001
  65271 | WADE     | SALESMAN  |      66928 | 1991-02-22 | 1350.00 |     600.00 |   3001
  66564 | MADDEN   | SALESMAN  |      66928 | 1991-09-28 | 1350.00 |    1500.00 |   3001
  68454 | TUCKER   | SALESMAN  |      66928 | 1991-09-08 | 1600.00 |       0.00 |   3001
  68736 | ADNRES   | CLERK     |      67858 | 1997-05-23 | 1200.00 |            |   2001
  69000 | JULIUS   | CLERK     |      66928 | 1991-12-03 | 1050.00 |            |   3001
  69324 | MARKER   | CLERK     |      67832 | 1992-01-23 | 1400.00 |            |   1001&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 05:58:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686612#M33062</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-09-25T05:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686617#M33063</link>
      <description>&lt;P&gt;Well, this worked. What is your question?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 06:45:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686617#M33063</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-25T06:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686618#M33064</link>
      <description>&lt;P&gt;What database are you trying to create this table in? You will need to use SQL passthru and the SQL dialect of the database to create tables and to change the schema of existing tables.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 06:46:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686618#M33064</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-09-25T06:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686622#M33065</link>
      <description>&lt;P&gt;i created hr_emp table but i missed primary key constraint how to add primary key already existing table&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the data missing values are there&lt;/P&gt;&lt;P&gt;below are the error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anandkvn_1-1601018363977.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49772iAD712D70F5FDABFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anandkvn_1-1601018363977.png" alt="Anandkvn_1-1601018363977.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anandkvn_0-1601018331522.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/49771i1C4B2881FCD8F4FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Anandkvn_0-1601018331522.png" alt="Anandkvn_0-1601018331522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 07:19:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686622#M33065</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-09-25T07:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686625#M33066</link>
      <description>&lt;P&gt;You can have only&amp;nbsp;&lt;EM&gt;one&lt;/EM&gt; primary key variable in a table. Remove the second definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's tough that we tave to tell so often, but&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Do no post logs as pictures!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Post them by copy/pasting log text into a &amp;lt;/&amp;gt; window!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;Always post the complete log when you get an ERROR or WARNING, or you can't make complete sense of it!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 25 Sep 2020 07:43:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686625#M33066</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-25T07:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686894#M33087</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
create table basic (emp_id int not null ,
                    emp_name varchar(20),
																				job_name	varchar(20),
																				manage_id int not null,
																				hire_date	date	,
																				salary				int 	,
																				commission int not null,
																				dept_id				int );


insert into basic values (	68319 , 'KAYLING'  , 'PRESIDENT' ,     ,        1991-11-18,  6000.00  ,              1001	);
insert into basic values ( 66928  'BLAZE'    , 'MANAGER'    ,     68319 ,    1991-05-01,  2750.00    ,            3001	);
insert into basic values ( 67832  'CLARE'     ,'MANAGER'    ,    68319 ,    1991-06-09 , 2550.00    ,            1001	);
insert into basic values ( 65646  'JONAS'     ,'MANAGER'    ,    68319  ,   1991-04-02,  2957.00    ,            2001);
insert into basic values ( 67858  'SCARLET'   ,'ANALYST'    ,     65646   ,  1997-04-19,  3100.00    ,            2001);
insert into basic values ( 69062  'FRANK'     ,'ANALYST'    ,    65646    , 1991-12-03,  3100.00    ,            2001);
insert into basic values ( 63679  'SANDRINE'  ,'CLERK'      ,    69062     ,1990-12-18 ,  900.00    ,            2001);
insert into basic values ( 64989  'ADELYN'    ,'SALESMAN'    ,    66928     ,1991-02-20,  1700.00    ,  400.00 ,  3001);
insert into basic values ( 65271  'WADE'      ,'SALESMAN'    ,    66928     ,1991-02-22 , 1350.00    ,  600.00 ,  3001);
insert into basic values ( 66564  'MADDEN'    ,'SALESMAN'    ,    66928   ,  1991-09-28 , 1350.00    , 1500.00 ,  3001);
insert into basic values ( 68454  'TUCKER'    ,'SALESMAN'    ,    66928   ,  1991-09-08 , 1600.00    ,    0.00    3001);
insert into basic values ( 68736  'ADNRES'    ,'CLERK'       ,    67858    , 1997-05-23 , 1200.00    ,            2001);
insert into basic values ( 69000  'JULIUS'    ,'CLERK'       ,    66928    , 1991-12-03 , 1050.00    ,            3001);
insert into basic values ( 69324  'MARKER'    ,'CLERK'       ,    67832    , 1992-01-23 , 1400.00    ,            1001);


quit;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;51 insert into basic values ( 68319 , 'KAYLING' , 'PRESIDENT' , ,&lt;BR /&gt;51 ! 1991-11-18, 6000.00 , 1001 );&lt;BR /&gt;NOTE: 1 row was inserted into WORK.BASIC.&lt;/P&gt;&lt;P&gt;52 insert into basic values ( 66928 'BLAZE' , 'MANAGER' , 68319 ,&lt;BR /&gt;52 ! 1991-05-01, 2750.00 , 3001 );&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;53 insert into basic values ( 67832 'CLARE' ,'MANAGER' , 68319 ,&lt;BR /&gt;53 ! 1991-06-09 , 2550.00 , 1001 );&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;54 insert into basic values ( 65646 'JONAS' ,'MANAGER' , 68319 ,&lt;BR /&gt;54 ! 1991-04-02, 2957.00 , 2001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;55 insert into basic values ( 67858 'SCARLET' ,'ANALYST' , 65646 ,&lt;BR /&gt;55 ! 1997-04-19, 3100.00 , 2001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;56 insert into basic values ( 69062 'FRANK' ,'ANALYST' , 65646 ,&lt;BR /&gt;56 ! 1991-12-03, 3100.00 , 2001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;57 insert into basic values ( 63679 'SANDRINE' ,'CLERK' , 69062&lt;BR /&gt;57 ! ,1990-12-18 , 900.00 , 2001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;58 insert into basic values ( 64989 'ADELYN' ,'SALESMAN' , 66928&lt;BR /&gt;58 ! ,1991-02-20, 1700.00 , 400.00 , 3001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;59 insert into basic values ( 65271 'WADE' ,'SALESMAN' , 66928&lt;BR /&gt;59 ! ,1991-02-22 , 1350.00 , 600.00 , 3001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;60 insert into basic values ( 66564 'MADDEN' ,'SALESMAN' , 66928 ,&lt;BR /&gt;60 ! 1991-09-28 , 1350.00 , 1500.00 , 3001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;61 insert into basic values ( 68454 'TUCKER' ,'SALESMAN' , 66928 ,&lt;BR /&gt;61 ! 1991-09-08 , 1600.00 , 0.00 3001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;62 insert into basic values ( 68736 'ADNRES' ,'CLERK' , 67858 ,&lt;BR /&gt;62 ! 1997-05-23 , 1200.00 , 2001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;63 insert into basic values ( 69000 'JULIUS' ,'CLERK' , 66928 ,&lt;BR /&gt;63 ! 1991-12-03 , 1050.00 , 3001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;64 insert into basic values ( 69324 'MARKER' ,'CLERK' , 67832 ,&lt;BR /&gt;64 ! 1992-01-23 , 1400.00 , 1001);&lt;BR /&gt;ERROR: VALUES clause 1 attempts to insert more columns than specified after the INSERT&lt;BR /&gt;table name.&lt;BR /&gt;65&lt;BR /&gt;66&lt;BR /&gt;67 quit;&lt;BR /&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.57 seconds&lt;BR /&gt;cpu time 0.18 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 06:48:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686894#M33087</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-09-26T06:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686895#M33088</link>
      <description>&lt;P&gt;This is a different problem than that in your initial question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create a dataset from code, use a DATA step with DATALINES. It is much easier.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 07:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686895#M33088</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-26T07:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686896#M33089</link>
      <description>i want to create table through proc sql</description>
      <pubDate>Sat, 26 Sep 2020 07:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686896#M33089</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-09-26T07:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686898#M33090</link>
      <description>&lt;P&gt;Maxim 14.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;i want to create table through proc sql&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 07:26:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686898#M33090</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-26T07:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686899#M33091</link>
      <description>what Maxim14</description>
      <pubDate>Sat, 26 Sep 2020 07:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686899#M33091</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2020-09-26T07:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to create primary key and how add primary key already existing table</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686905#M33093</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/265860"&gt;@BrahmanandaRao&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;what Maxim14&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;See the first link in my footnotes.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 09:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/how-to-create-primary-key-and-how-add-primary-key-already/m-p/686905#M33093</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-26T09:46:28Z</dc:date>
    </item>
  </channel>
</rss>

