You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATE PROCEDURE [dbo].[SortStatesss]
@s StateTblll READONLY
as
insert into StateTable(a.StateID)
SELECT a.StateID
FROM @s a
GO
CREATE TYPE [dbo].[StateTblll] AS TABLE(
[StateID] [int] NULL
)
GO
CREATE TABLE [dbo].[StateTable](
[StateID] [int] NULL,
[StateCode] [varchar](2) NULL,
[StateName] [varchar](200) NULL
) ON [PRIMARY]
GO
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Goal:
Add data in the table by using UDT and fluent nhibernate
Problem:
I cannot make it to be working.
What part am I missing?
Info:
*Using Visual Studio 2017, SQL server
Thank you!
C# code
SQL
Beta Was this translation helpful? Give feedback.
All reactions