General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesGeneral SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 27th, 2006, 03:11 PM
ZarrinPour ZarrinPour is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2006
Posts: 2 ZarrinPour User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 55 sec
Reputation Power: 0
Unhappy Building Join Script For a Given Query Dynamically?

Hi all,
I'm developing a Visual Query Builder (But Currently only for SqlServer) as the same as EnterPrise Manager'Query Builder of Sql Server 2000.
But i have problem to Creating and building Script for Join Section.in the other word i have all information about joins that USER has made visually for a query between tables for example Every Join Object contains the following info:

Start Table ---> Left Table'name of Join
End Table ---> Right Table'name of join

Join Type ---> Inner ,Left,Outer,....
Join Operator ---> Logical Operators like < > <> <=,...

Now, Imagine we have three,four or more...Link info as above,How should i Attach these Joins's information to gether to achieve a JOIN script.i need an algorithm for this.I tried to follow the lead of Sql-Server Query Builder But i mixed up because some times i can't guess it's method Can you help me?

Thanks in advance.
Best Regards.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > Building Join Script For a Given Query Dynamically?


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 5 hosted by Hostway