1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
|
CREATE TABLE [dbo].[prims](
[UUID] [varchar](255) NOT NULL,
[RegionUUID] [varchar](255) NULL,
[ParentID] [int] NULL,
[CreationDate] [int] NULL,
[Name] [varchar](255) NULL,
[SceneGroupID] [varchar](255) NULL,
[Text] [varchar](255) NULL,
[Description] [varchar](255) NULL,
[SitName] [varchar](255) NULL,
[TouchName] [varchar](255) NULL,
[ObjectFlags] [int] NULL,
[CreatorID] [varchar](255) NULL,
[OwnerID] [varchar](255) NULL,
[GroupID] [varchar](255) NULL,
[LastOwnerID] [varchar](255) NULL,
[OwnerMask] [int] NULL,
[NextOwnerMask] [int] NULL,
[GroupMask] [int] NULL,
[EveryoneMask] [int] NULL,
[BaseMask] [int] NULL,
[PositionX] [float] NULL,
[PositionY] [float] NULL,
[PositionZ] [float] NULL,
[GroupPositionX] [float] NULL,
[GroupPositionY] [float] NULL,
[GroupPositionZ] [float] NULL,
[VelocityX] [float] NULL,
[VelocityY] [float] NULL,
[VelocityZ] [float] NULL,
[AngularVelocityX] [float] NULL,
[AngularVelocityY] [float] NULL,
[AngularVelocityZ] [float] NULL,
[AccelerationX] [float] NULL,
[AccelerationY] [float] NULL,
[AccelerationZ] [float] NULL,
[RotationX] [float] NULL,
[RotationY] [float] NULL,
[RotationZ] [float] NULL,
[RotationW] [float] NULL,
[SitTargetOffsetX] [float] NULL,
[SitTargetOffsetY] [float] NULL,
[SitTargetOffsetZ] [float] NULL,
[SitTargetOrientW] [float] NULL,
[SitTargetOrientX] [float] NULL,
[SitTargetOrientY] [float] NULL,
[SitTargetOrientZ] [float] NULL,
PRIMARY KEY CLUSTERED
(
[UUID] ASC
)WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
CREATE TABLE [dbo].[primshapes](
[UUID] [varchar](255) NOT NULL,
[Shape] [int] NULL,
[ScaleX] [float] NULL,
[ScaleY] [float] NULL,
[ScaleZ] [float] NULL,
[PCode] [int] NULL,
[PathBegin] [int] NULL,
[PathEnd] [int] NULL,
[PathScaleX] [int] NULL,
[PathScaleY] [int] NULL,
[PathShearX] [int] NULL,
[PathShearY] [int] NULL,
[PathSkew] [int] NULL,
[PathCurve] [int] NULL,
[PathRadiusOffset] [int] NULL,
[PathRevolutions] [int] NULL,
[PathTaperX] [int] NULL,
[PathTaperY] [int] NULL,
[PathTwist] [int] NULL,
[PathTwistBegin] [int] NULL,
[ProfileBegin] [int] NULL,
[ProfileEnd] [int] NULL,
[ProfileCurve] [int] NULL,
[ProfileHollow] [int] NULL,
[State] [int] NULL,
[Texture] [image] NULL,
[ExtraParams] [image] NULL,
PRIMARY KEY CLUSTERED
(
[UUID] ASC
)WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
CREATE TABLE [dbo].[primitems](
[itemID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[primID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[assetID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[parentFolderID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[invType] [int] NULL,
[assetType] [int] NULL,
[name] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[description] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[creationDate] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[creatorID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ownerID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[lastOwnerID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[groupID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[nextPermissions] [int] NULL,
[currentPermissions] [int] NULL,
[basePermissions] [int] NULL,
[everyonePermissions] [int] NULL,
[groupPermissions] [int] NULL,
PRIMARY KEY CLUSTERED
(
[itemID] ASC
)WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
CREATE TABLE [dbo].[terrain](
[RegionUUID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Revision] [int] NULL,
[Heightfield] [image] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
CREATE TABLE [dbo].[land](
[UUID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[RegionUUID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[LocalLandID] [int] NULL,
[Bitmap] [image] NULL,
[Name] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Description] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[OwnerUUID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[IsGroupOwned] [int] NULL,
[Area] [int] NULL,
[AuctionID] [int] NULL,
[Category] [int] NULL,
[ClaimDate] [int] NULL,
[ClaimPrice] [int] NULL,
[GroupUUID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SalePrice] [int] NULL,
[LandStatus] [int] NULL,
[LandFlags] [int] NULL,
[LandingType] [int] NULL,
[MediaAutoScale] [int] NULL,
[MediaTextureUUID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[MediaURL] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[MusicURL] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[PassHours] [float] NULL,
[PassPrice] [int] NULL,
[SnapshotUUID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[UserLocationX] [float] NULL,
[UserLocationY] [float] NULL,
[UserLocationZ] [float] NULL,
[UserLookAtX] [float] NULL,
[UserLookAtY] [float] NULL,
[UserLookAtZ] [float] NULL,
PRIMARY KEY CLUSTERED
(
[UUID] ASC
)WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
CREATE TABLE [dbo].[landaccesslist](
[LandUUID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[AccessUUID] [varchar](255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Flags] [int] NULL
) ON [PRIMARY]
|