otazka 1:
mam sql kod ktory staci napisat do konzoly navicatu a podla toho sa vytvori novy riadok v tabulke
tu je to:
Kód:
insert into `creature_template` (`entry`, `modelid_A`, `modelid_A2`, `modelid_H`, `modelid_H2`, `name`, `subname`, `IconName`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `baseattacktime`, `rangeattacktime`, `flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `class`, `race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `civilian`, `flag1`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `RacialLeader`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `ScriptName`) values('99001', '18', '0', '18', '0', 'Teleporter', 'Magic and Illusions', NULL, '72', '72', '10000', '10000', '0', '0', '20', '35', '35', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '7', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '3', '0', '1', '0', '0', 'Script_mane');
[tento kod je z Mangosu]
hladam daco--- progarm--- do ktoreho vlozim tento kod a on mi vypise hodnoty dat.. asi takto
Entry = 99001
MODEID_A = 18
MODELID_A2 = 0
MODELID_H = 18
MODELID_H2 = 0
a tak dalej...
---------------------------------------------------
otazka 2:
mam databazu menom 123 v nej tabulku ABC a v tabulke stlpec XXX do ktoreho mozem zadat maximalne 100 znakov alebo cisel
prosim ako mam urobit aby som mohol zadat neobmedzene mnozstvo znakov?
dakujem