Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 13th, 2008, 06:10 PM
Newbie
 
Join Date: Aug 2008
Posts: 1
Default Problems with empty sets?!

Hi all!

So here is a problem refering at empty set:

How i can, first, verify if my column(respective table) is empty, has now rows in it, and, second, after the verification set a value to it.

Example:

Having table: tableA

with columns: id_tableA, columnA, columnB

and no value's in it, absolutly empty.

Need something like this(writing in text language)

IF IS_EMPTY(tableA.columnA)
THEN tableA.column = 0

Also, need to specify that: columnA is 'float' type.

Any help will be greatly apreciated.

Thx in advance!
Reply
  #2  
Old August 13th, 2008, 07:17 PM
Moderator
 
Join Date: Dec 2006
Posts: 250
Default

Expand|Select|Wrap|Line Numbers
  1. IF IS_EMPTY(tableA.columnA)
  2. THEN tableA.column = 0
  3.  
how should it work if there some rows but in column A there are no values. Should it put zeros in all rows?
Reply
Reply

Bookmarks

Thread Tools

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

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles