mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-09-18 01:22:08 +00:00
Processing custom strings for some properties, like skill-rand. https://d2mods.info/forum/kb/viewarticle?a=345
This commit is contained in:
94
ironman-dev.sqbpro
Normal file
94
ironman-dev.sqbpro
Normal file
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><sqlb_project><db path="D:/Documents/D2Modder/D2Modder/ironman-dev.db" readonly="0" foreign_keys="1" case_sensitive_like="0" temp_store="0" wal_autocheckpoint="1000" synchronous="2"/><attached/><window><main_tabs open="structure browser pragmas query" current="3"/></window><tab_structure><column_width id="0" width="300"/><column_width id="1" width="0"/><column_width id="2" width="100"/><column_width id="3" width="58404"/><column_width id="4" width="0"/><expanded_item id="0" parent="1"/><expanded_item id="1" parent="1"/><expanded_item id="2" parent="1"/><expanded_item id="3" parent="1"/></tab_structure><tab_browse><current_table name="4,10:main_bufficons"/><default_encoding codec=""/><browse_table_settings/></tab_browse><tab_sql><sql name="1.sql">WITH cte_item_codes(code,flippyfile) AS (
|
||||
|
||||
SELECT code,flippyfile from armor WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT code,flippyfile from misc WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT code,flippyfile from weapons WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT normcode,flippyfile from armor WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT normcode,flippyfile from weapons WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT ubercode,flippyfile from armor WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT ubercode,flippyfile from weapons WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT ultracode,flippyfile from armor WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT ultracode,flippyfile from weapons WHERE code != ''
|
||||
|
||||
)
|
||||
|
||||
|
||||
|
||||
--SELECT u.code,c.flippyfile
|
||||
|
||||
--FROM uniqueitems as u
|
||||
|
||||
--JOIN cte_item_codes as c
|
||||
|
||||
--ON u.code = c.code
|
||||
|
||||
|
||||
|
||||
SELECT s.item,c.flippyfile
|
||||
|
||||
FROM setitems as s
|
||||
|
||||
JOIN cte_item_codes as c
|
||||
|
||||
ON s.item = c.code
|
||||
|
||||
WHERE s.item != '' AND c.code != ''</sql><sql name="SQL 2">select count(*) from setitems</sql><sql name="SQL 3">WITH cte_item_codes(code,flippyfile) AS (
|
||||
|
||||
SELECT code,flippyfile from armor WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT code,flippyfile from misc WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT code,flippyfile from weapons WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT normcode,flippyfile from armor WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT normcode,flippyfile from weapons WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT ubercode,flippyfile from armor WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT ubercode,flippyfile from weapons WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT ultracode,flippyfile from armor WHERE code != ''
|
||||
|
||||
UNION
|
||||
|
||||
SELECT ultracode,flippyfile from weapons WHERE code != ''
|
||||
|
Reference in New Issue
Block a user