-->
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.  [ 2 posts ] 
Author Message
 Post subject: Views or temp tables supported?
PostPosted: Fri Apr 21, 2006 4:58 pm 
Beginner
Beginner

Joined: Wed Nov 30, 2005 4:58 pm
Posts: 22
Location: Austin, TX
MySQL 4.1 or less supports the "CREATE TEMPORARY TABLE..." syntax. MySQL 5.0+ supports the "CREATE VIEW..." syntax.
Other database engines may support the above or a completely different syntax. I would rather not write special flavors of SQL depending on which DB I'm using. Is there a way to express the use of views using HQL which will work with all DBs?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 21, 2006 5:02 pm 
Expert
Expert

Joined: Fri Aug 19, 2005 2:11 pm
Posts: 628
Location: Cincinnati
you can use views just like you use tables

_________________
Chris

If you were at work doing this voluntarily, imagine what you'd want to see to answer a question.


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

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.