|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
ASP with SQL insert statements
Hi people,
I'm new to ASP and have a problem which I hope you can help me with. Question 1: How can have th asp script automatically convert the date generated by the system to a format which is acceptable by Sybase SQL (yyyymmdd) Question 2: If the user were to insert a a string containing " ' ", how can I convert it into a special character so that it won't be treated by Sybase SQL as the start/end of a variable? I would really appreciate it if anyone could spare me some advice. Regards, Neoxy |
|
#2
|
||||
|
||||
|
Re: ASP with SQL insert statements
Quote:
Try this site. It's been a HUGE help to me. This link answers your specific question. DevGuru Quote:
This link (same site) uses the replace function. Just select your 'special character' carefully. ![]() Hope This Helps ~ Dave |
|
#3
|
|||
|
|||
|
Thanks Dave !!!
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > ASP with SQL insert statements |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|