Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Merging SQL Results

by markjugg (Curate)
on Aug 05, 2002 at 21:30 UTC ( [id://187830]=note: print w/replies, xml ) Need Help??


in reply to Merging SQL Results

If you are using Postgres, and you want to apply the logic, "when a field is null, return '--'", then using the COALESCE or CASE functions are a good solution for that. You can read more them here.

-mark

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://187830]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-24 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found