diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h
index 3ce41eab3..ec70a2e5a 100644
--- a/src/framework/Platform/Define.h
+++ b/src/framework/Platform/Define.h
@@ -127,4 +127,19 @@ typedef uint32 DWORD;
typedef uint64 OBJECT_HANDLE;
+enum
+{
+ FT_NA = 'x', // ignore/ default, 4 byte size, in Source String means field is ignored, in Dest String means field is filled with default value
+ FT_NA_BYTE = 'X', // ignore/ default, 1 byte size, see above
+ FT_NA_FLOAT = 'F', // ignore/ default, float size, see above
+ FT_NA_POINTER = 'p', // fill default value into dest, pointer size, Use this only with static data (otherwise mem-leak)
+ FT_STRING = 's', // char*
+ FT_FLOAT = 'f', // float
+ FT_INT = 'i', // uint32
+ FT_BYTE = 'b', // uint8
+ FT_SORT = 'd', // sorted by this field, field is not included
+ FT_IND = 'n', // the same,but parsed to data
+ FT_LOGIC = 'l' // Logical (boolean)
+};
+
#endif // MANGOS_DEFINE_H
diff --git a/src/game/DB2Stores.cpp b/src/game/DB2Stores.cpp
new file mode 100644
index 000000000..67cf8c0d5
--- /dev/null
+++ b/src/game/DB2Stores.cpp
@@ -0,0 +1,137 @@
+/*
+ * Copyright (C) 2005-2012 MaNGOS
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "DB2Stores.h"
+#include "DBCStores.h"
+#include "Policies/SingletonImp.h"
+#include "Log.h"
+#include "ProgressBar.h"
+#include "SharedDefines.h"
+#include "ObjectGuid.h"
+
+#include "DB2fmt.h"
+
+#include