dbTalk Databases Forums  

The name 'avail_seq' is illegal in this context

comp.databases.sybase comp.databases.sybase


Discuss The name 'avail_seq' is illegal in this context in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
yawnmoth
 
Posts: n/a

Default Re: The name 'avail_seq' is illegal in this context - 09-25-2008 , 05:57 PM






On Sep 23, 12:50*pm, Bret_Halford <b... (AT) sybase (DOT) com> wrote:
Quote:
Write it without the VALUES keyword:

*insert into test_table (avail_seq) select COALESCE(MAX(avail_seq), 0)
+ 1 FROM test_table
That worked - thanks!


Reply With Quote
  #12  
Old   
yawnmoth
 
Posts: n/a

Default Re: The name 'avail_seq' is illegal in this context - 09-25-2008 , 05:57 PM






On Sep 23, 12:50*pm, Bret_Halford <b... (AT) sybase (DOT) com> wrote:
Quote:
Write it without the VALUES keyword:

*insert into test_table (avail_seq) select COALESCE(MAX(avail_seq), 0)
+ 1 FROM test_table
That worked - thanks!


Reply With Quote
  #13  
Old   
yawnmoth
 
Posts: n/a

Default Re: The name 'avail_seq' is illegal in this context - 09-25-2008 , 05:57 PM



On Sep 23, 12:50*pm, Bret_Halford <b... (AT) sybase (DOT) com> wrote:
Quote:
Write it without the VALUES keyword:

*insert into test_table (avail_seq) select COALESCE(MAX(avail_seq), 0)
+ 1 FROM test_table
That worked - thanks!


Reply With Quote
  #14  
Old   
yawnmoth
 
Posts: n/a

Default Re: The name 'avail_seq' is illegal in this context - 09-25-2008 , 05:57 PM



On Sep 23, 12:50*pm, Bret_Halford <b... (AT) sybase (DOT) com> wrote:
Quote:
Write it without the VALUES keyword:

*insert into test_table (avail_seq) select COALESCE(MAX(avail_seq), 0)
+ 1 FROM test_table
That worked - thanks!


Reply With Quote
  #15  
Old   
yawnmoth
 
Posts: n/a

Default Re: The name 'avail_seq' is illegal in this context - 09-25-2008 , 05:57 PM



On Sep 23, 12:50*pm, Bret_Halford <b... (AT) sybase (DOT) com> wrote:
Quote:
Write it without the VALUES keyword:

*insert into test_table (avail_seq) select COALESCE(MAX(avail_seq), 0)
+ 1 FROM test_table
That worked - thanks!


Reply With Quote
  #16  
Old   
yawnmoth
 
Posts: n/a

Default Re: The name 'avail_seq' is illegal in this context - 09-25-2008 , 05:57 PM



On Sep 23, 12:50*pm, Bret_Halford <b... (AT) sybase (DOT) com> wrote:
Quote:
Write it without the VALUES keyword:

*insert into test_table (avail_seq) select COALESCE(MAX(avail_seq), 0)
+ 1 FROM test_table
That worked - thanks!


Reply With Quote
  #17  
Old   
yawnmoth
 
Posts: n/a

Default Re: The name 'avail_seq' is illegal in this context - 09-25-2008 , 05:57 PM



On Sep 23, 12:50*pm, Bret_Halford <b... (AT) sybase (DOT) com> wrote:
Quote:
Write it without the VALUES keyword:

*insert into test_table (avail_seq) select COALESCE(MAX(avail_seq), 0)
+ 1 FROM test_table
That worked - thanks!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.