SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseSQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 19th, 2001, 06:20 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Randomiztion Function SQL

<i><b>Originally posted by : Paul (paulf2@hotmail.com)</b></i><br />Does anybody happen to know what that Randomization for SQL 7.0 is?<br />MySQL is 'RAND', but this won't work on SQL 7.0.<br />Anybody come across this problem?<br />

Reply With Quote
  #2  
Old April 24th, 2001, 12:02 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : notimportant (jhunt@alagreen.com)</b></i><br />Try using a user defined function especially in a WHERE CLAUSE.<br /><br />SELECT * FROM <table> WHERE myudf() > .5<br /><br /> PROCEDURE myudf()<br /> RETURN RAND() <br /><br /><br />------------<br />Paul at 4/19/2001 4:20:43 AM<br /><br />Does anybody happen to know what that Randomization for SQL 7.0 is?<br />MySQL is 'RAND', but this won't work on SQL 7.0.<br />Anybody come across this problem?<br />

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseSQL Development > Randomiztion Function SQL


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 4 hosted by Hostway
Stay green...Green IT