dbTalk Databases Forums  

NULL values in IN condition

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss NULL values in IN condition in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Carlos
 
Posts: n/a

Default Re: NULL values in IN condition - 12-12-2008 , 05:38 AM






On 12 dic, 11:44, Thomas Kellerer <YQDHXVLMU... (AT) spammotel (DOT) com> wrote:
Quote:
Álvaro G. Vicario, 12.12.2008 11:34:

Carlos escribió:
Why on earth could someone define a column as varchar2(1)??

What's your suggestion to store a single character?

Mine would be: CHAR(1)
Mine too! ;-)

Cheers.

Carlos.


Reply With Quote
  #22  
Old   
Álvaro G. Vicario
 
Posts: n/a

Default Re: NULL values in IN condition - 12-12-2008 , 06:35 AM






Thomas Kellerer escribió:
Quote:
Álvaro G. Vicario, 12.12.2008 11:34:
Carlos escribió:
Why on earth could someone define a column as varchar2(1)??

What's your suggestion to store a single character?

Mine would be: CHAR(1)
*gasp*...

I had assumed that, since it didn't have the leading "2" as in VARCHAR2
it was one of those peculiar Oracle types tagged as "do not use!" like,
well, VARCHAR. And something that didn't help is that SQL Developer
doesn't allow such type in the "Add column" dialog.

This is what happens when you code in more DBMS than you're able to learn xD



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--


Reply With Quote
  #23  
Old   
Álvaro G. Vicario
 
Posts: n/a

Default Re: NULL values in IN condition - 12-12-2008 , 06:35 AM



Thomas Kellerer escribió:
Quote:
Álvaro G. Vicario, 12.12.2008 11:34:
Carlos escribió:
Why on earth could someone define a column as varchar2(1)??

What's your suggestion to store a single character?

Mine would be: CHAR(1)
*gasp*...

I had assumed that, since it didn't have the leading "2" as in VARCHAR2
it was one of those peculiar Oracle types tagged as "do not use!" like,
well, VARCHAR. And something that didn't help is that SQL Developer
doesn't allow such type in the "Add column" dialog.

This is what happens when you code in more DBMS than you're able to learn xD



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--


Reply With Quote
  #24  
Old   
Álvaro G. Vicario
 
Posts: n/a

Default Re: NULL values in IN condition - 12-12-2008 , 06:35 AM



Thomas Kellerer escribió:
Quote:
Álvaro G. Vicario, 12.12.2008 11:34:
Carlos escribió:
Why on earth could someone define a column as varchar2(1)??

What's your suggestion to store a single character?

Mine would be: CHAR(1)
*gasp*...

I had assumed that, since it didn't have the leading "2" as in VARCHAR2
it was one of those peculiar Oracle types tagged as "do not use!" like,
well, VARCHAR. And something that didn't help is that SQL Developer
doesn't allow such type in the "Add column" dialog.

This is what happens when you code in more DBMS than you're able to learn xD



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--


Reply With Quote
  #25  
Old   
Álvaro G. Vicario
 
Posts: n/a

Default Re: NULL values in IN condition - 12-12-2008 , 06:35 AM



Thomas Kellerer escribió:
Quote:
Álvaro G. Vicario, 12.12.2008 11:34:
Carlos escribió:
Why on earth could someone define a column as varchar2(1)??

What's your suggestion to store a single character?

Mine would be: CHAR(1)
*gasp*...

I had assumed that, since it didn't have the leading "2" as in VARCHAR2
it was one of those peculiar Oracle types tagged as "do not use!" like,
well, VARCHAR. And something that didn't help is that SQL Developer
doesn't allow such type in the "Add column" dialog.

This is what happens when you code in more DBMS than you're able to learn xD



--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--


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.