Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2001, 03:02 AM
cszoli cszoli is offline
Junior Member
 
Join Date: Jan 2001
Posts: 2
Default how to check the syntax of a user defined sql script

Hello !

I want to design a query screen. The user sees the available fields, and writes the selecting conditions for every fields. I want to create an SQL script from these conditions, but i want to check the query syntax before run.
How to do it ?

MZ
Reply With Quote
  #2  
Old 01-10-2001, 05:53 AM
Claude Claude is offline
Senior Member
 
Join Date: Jan 2001
Posts: 178
Default RE: how to check the syntax of a user defined sql script

When I am unsure of a SQL statement I put the Open/Execute in a try..except construct.
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 06:02 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.