SQL weirdness

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27756
interpreted = N
texte = I have a statement with an inner join between too related tables.Something like this: SELECT Products.OEM_PN, Prodaux.Weight FROM (Products LEFT JOIN Prodaux ON Products.OEM_PN = Prodaux.OEM_PN) INNER JOIN Products on Products.OEM_PN = Prodaux.OEM_PN WHEREOne of the table does not always have a record for the selected index.Therefore Prodaux.Weight should be forced to Null. The problem is that, instead of having [Prodaux.Weight] equal to nothing, WebCatalog gives it a weird content, sometimes the content of a part of the template.Weird, weird. Is it because of the Null character? ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. SQL weirdness (Nicolas Verhaeghe 2000)
I have a statement with an inner join between too related tables.Something like this: SELECT Products.OEM_PN, Prodaux.Weight FROM (Products LEFT JOIN Prodaux ON Products.OEM_PN = Prodaux.OEM_PN) INNER JOIN Products on Products.OEM_PN = Prodaux.OEM_PN WHEREOne of the table does not always have a record for the selected index.Therefore Prodaux.Weight should be forced to Null. The problem is that, instead of having [Prodaux.Weight] equal to nothing, WebCatalog gives it a weird content, sometimes the content of a part of the template.Weird, weird. Is it because of the Null character? ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Nicolas Verhaeghe

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Multiple Users.db Possible? (1997) [SQL] & ODBC on Mac - Reposted (2000) Extended [ConvertChars] (1997) [OT] MacOs IE5 topmargin and leftmargin bug (2000) Date Formats (1997) Re:no template caching (1997) More DateMath problems (1997) Separate SSL Server (1997) File Upload (2000) 'does not contain' operator needed ... (1997) ShipCost Data Base (1998) ShowNext truncating passed variable?? (1997) Searching for (field1 OR field2) AND field3 (2000) OT: PDA Browser Emulator (2006) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) Webstar 1.3.1 PPC (1997) Writefile (2000) Template not found error messages (1997) Fwd: [ANNOUNCE] BIAP W*API Patch plug-in (1998) Great product and great job ! (1997)