Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General Discussion » View Thread |
Messages 1 to 6 of 6 total |
Where parameter, and wildcard |
Wed, Jan 25 2017 6:05 AM | Permanent Link |
Matthew Jones | Can I just confirm that using a parameter doesn't introduce any sort of wildcard facility?
That is, if I use DELETE FROM table WHERE MyColumn = :USER_INPUT that the user cannot enter anything that could ever delete more than one record (assuming MyColumn is unique). I don't want to end up with some sort of LIKE where they can match anything. -- Matthew Jones |
Wed, Jan 25 2017 6:40 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Matthew
Certainly - off you go and confirm it then Or alternatively with the syntax you have even if the user types 'DELETE * FROM TABLEX' nothing much will happen unless you have a row where MyColumn = 'DELETE * FROM TABLEX' Roy Lambert |
Wed, Jan 25 2017 7:06 AM | Permanent Link |
Matthew Jones | Roy Lambert wrote:
> Matthew > > > Certainly - off you go and confirm it then > > Or alternatively with the syntax you have even if the user types 'DELETE * FROM TABLEX' nothing much will happen unless you have a row where MyColumn = 'DELETE * FROM TABLEX' Thanks - I just had that moment of dread... Better to double check with the expert. 8-) -- Matthew Jones |
Wed, Jan 25 2017 7:53 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Matthew
>Thanks - I just had that moment of dread... Better to double check with the expert. 8-) In that case you'll just have to wait for an expert to appear - I'm not one - I didn't even spot the lack of a WHERE clause in Adam's post!! Roy Lambert |
Mon, Jan 30 2017 3:05 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<< In that case you'll just have to wait for an expert to appear - I'm not one - I didn't even spot the lack of a WHERE clause in Adam's post!! >> Forest/trees issues are more a reflection of our age/eyesight than our expertise. Or so I keep telling myself... Tim Young Elevate Software www.elevatesoft.com |
Tue, Jan 31 2017 5:06 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | Tim
>Forest/trees issues are more a reflection of our age/eyesight than our expertise. Or so I keep telling myself... Many thanks for that - first chuckle of the day. Roy |
This web page was last updated on Wednesday, May 15, 2024 at 08:40 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |