How to handle this below situation, I am getting error for function, my
Postgres version is 9.4
 is

ERROR:  syntax error at or near "@"
LINE 67:   autonumbersett...@repos.birchstreet.net
                            ^
********** Error **********
ERROR: syntax error at or near "@"
SQL state: 42601
Character: 3274


------------------------

BEGIN
  select NEXT_NUMBER into STRICT  id from
  autonumbersett...@repos.birchstreet.net
  --pbeach_repos8.AUTONUMBERSETTING
  where subscriber_id=subscriber and AUTO_NUMBER_ID=348 and company_id=
buyer;
   exception
  when no_data_found then
       insert into
smerror_log(error_log_id,subscriber_id,company_id,error_message,system_message,
       method_name,creation_date,creation_user,update_date,update_user)
     values (nextval('smerror_log_sequence'),subscriber,buyer,'Auto Number
not found',null,
       'PunchoutProfile'  ,LOCALTIMESTAMP,'Admin',LOCALTIMESTAMP,'Admin');
       commit;
      return;
  end;

-------------------------------

Reply via email to