I open relativity server admin and open the schema modeler.
Right click on table, select Add
Click on statements
Click add statement
Select target table, in this case ‘Files’
Select statement type: SQL
I get the message there sql string is empty, I click yes
I click validate, perfect
I click preview data, perfect
I modify the sql and add a parameter, here below is the statement:
SELECT
[FileId], [Sys_CompanyId], [FileType],
[FileDescription], [FileRelation], [FileApplicator],
[FileRemarks], [FileStatus], [FileUser],
[FileRemoved], [FileDateDemand], [FileDateTarification],
[FileDateDeed], [FileTotalAmount], [FileMortgageAmount],
[FileMortgageAmountMandate], [FileAmountCommission], [FilePortalVisible],
[FilePortalCanComment], [FilePortalCanAddDocuments], [FileDateApproval],
[FileDateSigning], [FilePeriod], [FileMonthlyCharge],
[FileStartDatePayments], [FileNumberOfTranches], [FileInterestRate]
FROM
[Files]
WHERE [FileId]=:FileId
I click validate, I get a message there is parameter, Modeler adds a parameter to the parameters section of the table.
I click validate, perfect
I click preview data, I get a screen where I can enter the value for the parameter.
I enter a valid value.
I click execute
I get the attached error.
