-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Best way of adhoc queries against SQL server
PostPosted: Thu Sep 21, 2006 1:31 pm 
Beginner
Beginner

Joined: Fri May 13, 2005 11:21 pm
Posts: 21
Location: Atlanta, GA
Hi guys, I have an application written in .Net using Nhibernate for retrieving data about symphony performances, the main tables are

Event - Description of something, e.g. Beethoven

performance - the date the event will be played on, there are many performances of an event, this also has a M:M to the artist table :

Artists - this is the name of the performer of the performance, there will be many artists per performance and many artists across performances.

I have to do a web engine style search so that if some said

"spano june beethoven"

I'd need to search the performance name and description tables for each of those words (spano is a conductor who could be mentioned in the description of the event, or the name of an artist). I'd then need to figure out that june is month 6 and search performances that occur in june. I'd also need to then search the description of the event for beethoven and the artists table for beethoven.

Do I abandon Nhibernate for this type of query and just use ADO and some basic queries or is there some tutorial or paper that can help me figure this out. I have not looked at the SQL server docs yet to see if they have any helper prioprietary functions I can use for date searches using keywords.

Thanks
Grant Davies
Bluetube Interactive
http://www.bluetube.com/bti/index.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.