SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 29th, 2001, 04:59 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Hmm my SQL Query crashes!!!!!

<i><b>Originally posted by : Sheraz (alphajobbeta@hotmail.com)</b></i><br />History:<br /><br />Working with forms and SQL dymaic rookie query .....<br /><br />Now if I type a >>> ' <<<<character in my forms my dynamic query crashes ....<br /><br />How can I make my queys "Super Query " so it just doesn't crashes with inclusion of a useless character like >>> ' <<<<<<<<br /><br />Actually its useful but hey it cuzing a bug in my script hehe ...<br /><br /><br /><br /><br /><br /><br /><br />

Reply With Quote
  #2  
Old June 29th, 2001, 11:51 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : ssteve</b></i><br />use the replace statement in your in-line sql statement that gets passed to the database.<br /><br />replace(mystring, "'", "") will replace it with nothing.<br /><br /><br />------------<br />Sheraz at 6/29/2001 2:59:03 PM<br /><br />History:<br /><br />Working with forms and SQL dymaic rookie query .....<br /><br />Now if I type a >>> ' <<<<character in my forms my dynamic query crashes ....<br /><br />How can I make my queys "Super Query " so it just doesn't crashes with inclusion of a useless character like >>> ' <<<<<<<<br /><br />Actually its useful but hey it cuzing a bug in my script hehe ...<br /><br /><br /><br /><br /><br /><br /><br />

Reply With Quote
  #3  
Old June 30th, 2001, 12:01 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Sheeraz</b></i><br /><br />Thanks sSteve<br /><br />------------<br />ssteve at 6/29/2001 9:51:01 PM<br /><br />use the replace statement in your in-line sql statement that gets passed to the database.<br /><br />replace(mystring, "'", "") will replace it with nothing.<br /><br /><br />------------<br />Sheraz at 6/29/2001 2:59:03 PM<br /><br />History:<br /><br />Working with forms and SQL dymaic rookie query .....<br /><br />Now if I type a >>> ' <<<<character in my forms my dynamic query crashes ....<br /><br />How can I make my queys "Super Query " so it just doesn't crashes with inclusion of a useless character like >>> ' <<<<<<<<br /><br />Actually its useful but hey it cuzing a bug in my script hehe ...<br /><br /><br /><br /><br /><br /><br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Hmm my SQL Query crashes!!!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway