FAQ/IzendaAdHocReports-table.md
... ...
@@ -21,6 +21,24 @@ CREATE TABLE [dbo].[IzendaAdHocReports] (
21 21
);
22 22
```
23 23
24
+##Oracle Table Script
25
+
26
+```sql
27
+BEGIN
28
+ CREATE TABLE IzendaAdHocReports
29
+ ( Name VARCHAR(255) NOT NULL,
30
+ Xml NCLOB,
31
+ CreatedDate DATE,
32
+ ModifiedDate DATE,
33
+ TenantID VARCHAR(255),
34
+ IzendaAdHocReportsID INTEGER,
35
+ ReportSourceID INTEGER,
36
+ Thumbnail BLOB
37
+ );
38
+ COMMIT;
39
+END;
40
+```
41
+
24 42
##Izenda FORMS plugin
25 43
26 44
The Izenda [[FORMS|/Guides/ReportDesign/14.0-Izenda-FORMS]] plugin uses a unique process to generate the pixel-perfect forms that the report viewers see. To do this, it needs a special column in the database. Here is the table script with the new column added.
... ...
@@ -41,11 +59,42 @@ CREATE TABLE [dbo].[IzendaAdHocReports] (
41 59
);
42 60
```
43 61
44
-###Alter table script
62
+###Oracle SQL table script
63
+
64
+```sql
65
+BEGIN
66
+ CREATE TABLE IzendaAdHocReports
67
+ ( Name VARCHAR(255) NOT NULL,
68
+ Xml NCLOB,
69
+ CreatedDate DATE,
70
+ ModifiedDate DATE,
71
+ TenantID VARCHAR(255),
72
+ IzendaAdHocReportsID INTEGER,
73
+ Form NCLOB,
74
+ ReportSourceID INTEGER,
75
+ Thumbnail BLOB
76
+ );
77
+ COMMIT;
78
+END;
79
+```
80
+
81
+###MSSQL Alter table script
45 82
46 83
And here is an SQL statement to add the field to an existing table.
47 84
48 85
```sql
49 86
ALTER TABLE [dbo].[IzendaAdHocReports]
50 87
ADD [Form] NVARCHAR (MAX) NULL
88
+```
89
+
90
+###Oracle Alter table script
91
+
92
+Here is the Oracle equivalent of the above alter table script
93
+
94
+```sql
95
+BEGIN
96
+ALTER TABLE IzendaAdHocReports
97
+ADD (Form NCLOB);
98
+COMMIT;
99
+END;
51 100
```
... ...
\ No newline at end of file