These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Manufacturing SQL

Author
Kivorno
Myanapa Corsica
#1 - 2013-03-19 13:34:25 UTC  |  Edited by: Kivorno
Hi,

Was wondering if there is an easy way to know if an item is used in manufacturing? I have several SQL Queries written about blueprints and the materials involved but was wondering if there was a way to query if an item is used in any type of manufacturing at all.

For example, it would find the usual, tritanium, pyerite etc but then also if a module was used.

Edit: removed excess rubbish

Proud creator and developer of Eve-Merchant / Eve-Merchant Sprint

Tonto Auri
Vhero' Multipurpose Corp
#2 - 2013-03-19 18:00:20 UTC
It was clear from the start, but you've made a big effort in blurring the sense of your question :)
Yes, it is possible.
Create a number of views to pull items required for various activity associated with manufacturing, and a it'll be a matter of checking the list to see, if the item is there or not. You may as well store views in a table for quicker reference, if you intend to do that alot.

Two most common elements in the universe are hydrogen and stupidity. -- Harlan Ellison

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#3 - 2013-03-19 20:49:57 UTC
You're always going to have to use a typeid, or type name, if you want to see what a /specific/ item is used to manufacture.


Or are you asking for a list of modules which are used as components in manufacturing? (grab the list of materials from invTypeMaterials, and ramTypeRequirements, distinct it. find the list from invTypeMaterials and ramTypeRequirements where the thing being made is on the first list)

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Kivorno
Myanapa Corsica
#4 - 2013-03-20 10:03:33 UTC
Thanks, think I'm there now.

Love all the work you do Steve as well! Kudos!

Proud creator and developer of Eve-Merchant / Eve-Merchant Sprint