DOWNLOAD FREE eBOOK

SUBSCRIBE

Your email:

GEMCOM SOFTWARE MINING BLOG

Current Articles | RSS Feed RSS Feed

What are the Benefits of Using SQL Filters in Gemcom GEMS™?

  
  
  
  

SQL filters provide the ability to filter all drillhole data, or any other GEMS data, to the exact subset you require. This allows you to remove superfluous data and alerts you to anomalous data. SQL filters may be created once and reused, which saves time and reduces possible consistency errors.

 

GEMS SQL Filtering provides the capability to filter data on more than one table.

 

For example:

  • If you want to see only holes drilled longer than a minimum length in an area that went through a specific lithological zone or had an assay greater than or equal to a value, your SQL filter might look like: 

[DDH1_HEADER].LENGTH >= 50 AND ([DDH1_LITHO].[ROCK_CODE]>=10 OR [DDH1_ASSAY].[AU(OZ/T)]>3)

 

  • Or if you are looking only for holes drilled longer than a specific length and have an assay value greater than or equal to a value, your SQL filter might look like:

[DDH1_HEADER].LENGTH >= 50 AND [DDH1_LITHO].[ROCK_CODE]>=10 AND [DDH1_ASSAY].[AU(OZ/T)]>3

 

Once filters have been created they can be used in several places within GEMS:

  • When opening the holes for viewing in the 3D graphical view.
  • Within the data editor (Workspace > Edit data).
  • When exporting drillhole data to Excel.

 

Additionally, “AND” as well as “OR” statements can be combined to create very versatile filters. Examples can be found in the GEMS Help by searching keywords “SQL Filters”.

 

To learn more about GEMS, visit www.gemcomsoftware.com

Search for “SQL Filters” in GEMS Help to learn more about using the SQL Filter dialog.

Comments

Why are SQL filters not available in all the workflows ie. composite preparation and calculation do not have the choice of SQL filters.
Posted @ Thursday, June 07, 2012 10:39 AM by Judy
Hi Judy, thanks for your feedback. I've passed on your comment to our GEMS development team. They're aware of this request and have considered how the functionality could possibly be included in future versions of GEMS, but due to technical complications, it isn't currently an option. 
 
 
 
Please keep the feedback coming! If you aren't already aware, we have a discussion forum on our support site. Read our latest blog post for details on how to participate:  
 
http://info.gemcomsoftware.com/blog/bid/128107/Updated-Gemcom-Community-Discussion-Forum 
 
Posted @ Friday, June 08, 2012 4:54 PM by Jessica
Post Comment
Name
 *
Email
 *
Website (optional)
Comment
 *

Allowed tags: <a> link, <b> bold, <i> italics