PROC SQL SYNTAX

Accepted Solution Solved
Reply
Contributor
Posts: 44
Accepted Solution

PROC SQL SYNTAX

proc sql ;
select * from inp.inp_claims_lds2013_2016
group by prvdr_num
quit;

 

LOG BELOW

 

99
100 proc sql ;
101 select * from inp.inp_claims_lds2013_2016
102 group by prvdr_num
103 quit;
____
22
76
ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, *, **, +, ',', -, '.', /, <, <=, <>, =, >, >=, ?,
AND, CONTAINS, EQ, EQT, GE, GET, GT, GTT, HAVING, LE, LET, LIKE, LT, LTT, NE, NET, OR, ORDER, ^=, |, ||,
~=.

ERROR 76-322: Syntax error, statement will be ignored.


Accepted Solutions
Solution
‎03-03-2018 09:39 AM
PROC Star
Posts: 511

Re: PROC SQL SYNTAX

proc sql ;
select * from inp.inp_claims_lds2013_2016
group by prvdr_num;
quit;

YOU NEED TO HAVE semicolon before you write a quite statement

View solution in original post


All Replies
Regular Contributor
Posts: 249

Re: PROC SQL SYNTAX

Can you please explain what do you intend to do?
Solution
‎03-03-2018 09:39 AM
PROC Star
Posts: 511

Re: PROC SQL SYNTAX

proc sql ;
select * from inp.inp_claims_lds2013_2016
group by prvdr_num;
quit;

YOU NEED TO HAVE semicolon before you write a quite statement

Contributor
Posts: 44

Re: PROC SQL SYNTAX

thank you I was sleepy
☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 174 views
  • 0 likes
  • 3 in conversation