Hello ,
Do you know which code we have to use to get information from a user defined table in SQL Management Studio. Because this table has the @ sign in its name (@tablename) the ususal code from SAP Business One does not work.
eg. select * from @CUSTOMERCODE does not work and gives an error:
Msg 1087, Level 15, State 2, Line 1
Must declare the table variable "@CUSTOMERCODE".
Should I place it between brackets like select * FROM [dbo].[@UDT_CUSTOMERCODE]
Thanks in advance