Re: SQL Madness
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62671
interpreted = N
texte = Ugh, that seemed to help. ThanksThis brings up a couple of things.First a couple of questions.How will this effect searches with keywords which contain items like spaces.It appears to work with those as well, but I am a bit worried that url'ingthe string will cause some issues searching a SQL table where stuff isnturl'd going it. Second, is it safe to say that this is NOT supposed to be happening. IE: thestring should not be unurl'd without me telling it to do so explicitly? Isit likely that this 'behavior' will change?And on a side not, in the face of having no solution, I rewrote all the codeto create webCat tables and all my searching is done that way though thedata is also stored in SQL for lots and lots of reasons.Sux that I had to rewrite the code for adding/editing and search but ohwell... Its about 3 times as fast so I guess that's a good thing.Any thoughts on the question above. It will take some more testing before Ican convince everyone that its a foolproof fix but it looks like a start.AlexOn 7/27/05 2:59 PM, "Scott Anderson"
wrote:> Just a thought. I wonder if the '%' in combination with a integer value for> [descriptionvar] is getting [unurl]'d somewhere in the parsing process. For> example:> > LIKE '%541%'> > is getting changed to> > LIKE 'T1%'> > before being sent to the SQL server.> > You may want to experiment with the [URL] context. Perhaps try:> > LIKE '[URL]%[descriptionvar]%[/URL]'-- Alex J McCombie Adventure Skies Interactive (ASI)Owner Box 124888/892.6379 MartVille, NY 13111Alex@Adventureskies.comInterface Designer WebDNA Programmer Database Designer-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Ugh, that seemed to help. ThanksThis brings up a couple of things.First a couple of questions.How will this effect searches with keywords which contain items like spaces.It appears to work with those as well, but I am a bit worried that url'ingthe string will cause some issues searching a SQL table where stuff isnturl'd going it. Second, is it safe to say that this is NOT supposed to be happening. IE: thestring should not be unurl'd without me telling it to do so explicitly? Isit likely that this 'behavior' will change?And on a side not, in the face of having no solution, I rewrote all the codeto create webCat tables and all my searching is done that way though thedata is also stored in SQL for lots and lots of reasons.Sux that I had to rewrite the code for adding/editing and search but ohwell... Its about 3 times as fast so I guess that's a good thing.Any thoughts on the question above. It will take some more testing before Ican convince everyone that its a foolproof fix but it looks like a start.AlexOn 7/27/05 2:59 PM, "Scott Anderson" wrote:> Just a thought. I wonder if the '%' in combination with a integer value for> [descriptionvar] is getting [unurl]'d somewhere in the parsing process. For> example:> > LIKE '%541%'> > is getting changed to> > LIKE 'T1%'> > before being sent to the SQL server.> > You may want to experiment with the [url] context. Perhaps try:> > LIKE '[url]%[descriptionvar]%[/URL]'-- Alex J McCombie Adventure Skies Interactive (ASI)Owner Box 124888/892.6379 MartVille, NY 13111Alex@Adventureskies.comInterface Designer WebDNA Programmer Database Designer-------------------------------------------------------------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 Web Archive of this list is at: http://webdna.smithmicro.com/
Alex McCombie
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:
member logins database (2003)
Re:Saving/Looking Up customer numbers (1998)
Not really WebCat- (1997)
WebCat2: Found Items syntax, etc. (1997)
Dang... Sorry, WebDNA server not running (again)? (2003)
problem 'building' field names (2000)
[WebDNA] Range calculation w/negative values (2011)
Summ=T Problem (1997)
WebCat2b13MacPlugIn - [include] (1997)
Weeks starting on Mondays (1998)
Re:2nd WebCatalog2 Feature Request (1996)
WebDNA on Apache/Xserve (2003)
WC2b15 File Corruption (1997)
Text data with spaces in them... (1997)
Problem with version 4 browsers (1998)
Progress !! WAS: Trouble with formula.db (1997)
Setting up the server (1997)
Help name our technology! I found it (1997)
Extended [ConvertChars] (1997)
How big can WebCat go? (1999)