Z SQL Method Question
27 Feb
2001
27 Feb
'01
7:47 p.m.
I'm trying to build a query with three optional variables and three optional operators. I think I have a form that supplies the variables correctly, but am less certain about DTML use in a SQL query. Here's what I'm doing: SELECT * FROM cases WHERE makepublic = 't' <dtml-if citationin>AND citation <dtml-var citationop> citationin </dtml-if> <dtml-if casenamein>AND casenameshort <dtml-var casenameop> casenamein </dtml-if> <dtml-if yearin>AND year <dtml-var yearop> yearin </dtml-if> Any help/tips/advice appreciated. Donald Braman donald.braman@yale.edu
9168
Age (days ago)
9168
Last active (days ago)
0 comments
1 participants
participants (1)
-
Donald Braman