- Joined
- Mar 24, 2007
- Messages
- 362
- Reaction score
- 34
Hello forum!
I've encountered some weird methods of changing a lot of rows in different types of colums which didn't work out when converting back to *DNT from *CSV by using "DNTableConverter"
I noticed that if you convert one of the large *DNT tables to *CSV it doesn't fully get all of what supposed to convert to.
Soooooo in that case use the "DB2DNT" tool and once you have injected the table in to your Database use this query to change 1 entire row of any of the column.
Be sure to select the table you want to edit and then select "New Query"
[MS SQL Query]
After executing that and everything should be changed.
Open up the "DB2DNT" tool and select "Table to DNT" then save the file to where ever then it should convert fully =]
Hope this helps out any to you who are having problems with changing multiple large rows in the DB or such. If anyone want's to code a better query than this then just post it in the comments below and i will update this.
I've encountered some weird methods of changing a lot of rows in different types of colums which didn't work out when converting back to *DNT from *CSV by using "DNTableConverter"
I noticed that if you convert one of the large *DNT tables to *CSV it doesn't fully get all of what supposed to convert to.
Soooooo in that case use the "DB2DNT" tool and once you have injected the table in to your Database use this query to change 1 entire row of any of the column.
Be sure to select the table you want to edit and then select "New Query"
[MS SQL Query]
Code:
/* [This query is was made by major333/sirmajor] */
/* [All Row Select/Replace] */
Update
[COLOR=#ff0000]enchanttable_temp[/COLOR] /* <----[Change this to the table in your DB of which you want to edit in]*/
SET
[COLOR=#ff0000]_EnchantRatio[/COLOR]=[COLOR=#ff0000]1.0[/COLOR] /*[The first line of this is the [COLOR=#ff0000]Column [/COLOR]that you want to modify and ='[COLOR=#ff0000]value[/COLOR]' ]*/
WHERE [COLOR=#ff0000]1[/COLOR] <= [COLOR=#ff0000]999999[/COLOR]; /*[From row 1 to what ever row you want it to go to]*/
Open up the "DB2DNT" tool and select "Table to DNT" then save the file to where ever then it should convert fully =]
Hope this helps out any to you who are having problems with changing multiple large rows in the DB or such. If anyone want's to code a better query than this then just post it in the comments below and i will update this.
Last edited: