Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, everyone. I have to translate a stored procedure from sql to postgresql. One of the parameters of the stored procedure is:

@DT as [dbo].[ImportedRawData] readonly


and since there is no
[dbo].[ImportedRawData]
table in sql database. I really don't understand what that line of code do. Is this a temporary table which is readonly?
Can anyone explain to me the meaning of that line?

What I have tried:

I searched in google for any explanation but did not find anything approriate.
Posted
Updated 25-Jun-19 22:18pm

1 solution

That looks like a User Defined Type - see CREATE TYPE (Transact-SQL) - SQL Server | Microsoft Docs[^] for the documentation and Manipulating UDT Data - SQL Server | Microsoft Docs[^] for some examples.

They are available in PostgreSQL too PostgreSQL: Documentation: 9.5: User-defined Types[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900