PC Review


Reply
Thread Tools Rate Thread

Create Runtime SQL Query

 
 
=?Utf-8?B?U3RldmUgQi4=?=
Guest
Posts: n/a
 
      23rd Dec 2005
I have to create an SQL statement at run time based on the items the user
selects on a report menu. The SQL statement gets quite complex if you have
13 menu items each having associated WHERE cretria. I'm using StringBuider to
build the statement

Is there a simple way to create an SQL statement?. Is there a procedural
methodology I should follow when developing the statement? Is there
something free on the web I can maybe pass parameters and it returns a SQL
string? I've already broken the statement into parts. The table,
table.field, AND's and the OR's get real confusing real fast.

Thanks
Steve
 
Reply With Quote
 
 
 
 
Triax
Guest
Posts: n/a
 
      23rd Dec 2005
"Steve B." <(E-Mail Removed)> wrote in message
news:90BDE0C7-5831-4A8A-9DDC-(E-Mail Removed)...
>I have to create an SQL statement at run time based on the items the user
> selects on a report menu. The SQL statement gets quite complex if you
> have
> 13 menu items each having associated WHERE cretria. I'm using StringBuider
> to
> build the statement
>
> Is there a simple way to create an SQL statement?. Is there a procedural
> methodology I should follow when developing the statement? Is there
> something free on the web I can maybe pass parameters and it returns a SQL
> string? I've already broken the statement into parts. The table,
> table.field, AND's and the OR's get real confusing real fast.
>
> Thanks
> Steve


Yes. EasyObjects lets you build dynamic SELECT statements on the fly, for
both SQL Server and Oracle.

http://www.easyobjects.net

--
Triax


 
Reply With Quote
 
=?Utf-8?B?U3RldmUgQi4=?=
Guest
Posts: n/a
 
      24th Dec 2005
Thanks Triax

I'm checking it out easyobjects now. I also came across
http://www.reebsoftware.com/. If you take a look at this product please post
your comments

Thanks
Steve


"Triax" wrote:

> "Steve B." <(E-Mail Removed)> wrote in message
> news:90BDE0C7-5831-4A8A-9DDC-(E-Mail Removed)...
> >I have to create an SQL statement at run time based on the items the user
> > selects on a report menu. The SQL statement gets quite complex if you
> > have
> > 13 menu items each having associated WHERE cretria. I'm using StringBuider
> > to
> > build the statement
> >
> > Is there a simple way to create an SQL statement?. Is there a procedural
> > methodology I should follow when developing the statement? Is there
> > something free on the web I can maybe pass parameters and it returns a SQL
> > string? I've already broken the statement into parts. The table,
> > table.field, AND's and the OR's get real confusing real fast.
> >
> > Thanks
> > Steve

>
> Yes. EasyObjects lets you build dynamic SELECT statements on the fly, for
> both SQL Server and Oracle.
>
> http://www.easyobjects.net
>
> --
> Triax
>
>
>

 
Reply With Quote
 
Triax
Guest
Posts: n/a
 
      24th Dec 2005
Cool. I will check it out!

--
Triax


"Steve B." <(E-Mail Removed)> wrote in message
news:5BD37AFF-F2B6-4D35-BB53-(E-Mail Removed)...
> Thanks Triax
>
> I'm checking it out easyobjects now. I also came across
> http://www.reebsoftware.com/. If you take a look at this product please
> post
> your comments
>
> Thanks
> Steve
>
>
> "Triax" wrote:
>
>> "Steve B." <(E-Mail Removed)> wrote in message
>> news:90BDE0C7-5831-4A8A-9DDC-(E-Mail Removed)...
>> >I have to create an SQL statement at run time based on the items the
>> >user
>> > selects on a report menu. The SQL statement gets quite complex if you
>> > have
>> > 13 menu items each having associated WHERE cretria. I'm using
>> > StringBuider
>> > to
>> > build the statement
>> >
>> > Is there a simple way to create an SQL statement?. Is there a
>> > procedural
>> > methodology I should follow when developing the statement? Is there
>> > something free on the web I can maybe pass parameters and it returns a
>> > SQL
>> > string? I've already broken the statement into parts. The table,
>> > table.field, AND's and the OR's get real confusing real fast.
>> >
>> > Thanks
>> > Steve

>>
>> Yes. EasyObjects lets you build dynamic SELECT statements on the fly, for
>> both SQL Server and Oracle.
>>
>> http://www.easyobjects.net
>>
>> --
>> Triax
>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update query giving runtime error 3417 action query cannot be used C0rrinn3 Microsoft Access VBA Modules 5 13th Aug 2008 01:36 AM
Create an .exe at runtime with .NET 2.0 =?Utf-8?B?YW5kZXJzY2g=?= Microsoft Dot NET 7 2nd Mar 2007 01:02 AM
Access 2000 - how to dynamically create a form at runtime based on a query sheree Microsoft Access Form Coding 3 13th Jul 2004 06:23 PM
Read Bitmap and create Method to Create Image at runtime Mark Johnson Microsoft Dot NET Framework 1 28th Nov 2003 08:26 PM
create runtime(on fly ) kapil edynamic Microsoft ADO .NET 3 25th Aug 2003 09:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:40 AM.