T
tascien
Hi, when i use this code:
SqlConn.Open()
SqlCmd.Connection = SqlConn
SqlCmd.CommandText = sqlCommand
If Not CmdTimeOut < 0 Then SqlCmd.CommandTimeout =
CmdTimeOut
Dim ret = SqlCmd.ExecuteNonQuery()
SqlConn.Close()
Return ret
and pass the SQL Query:
ALTER VIEW [dbo].[tb_Custom_Join_1] AS SELECT [tb_Contact].[LastName]
AS [tb_Contact_LastName],[tb_Contact].(e-mail address removed)
SqlConn.Open()
SqlCmd.Connection = SqlConn
SqlCmd.CommandText = sqlCommand
If Not CmdTimeOut < 0 Then SqlCmd.CommandTimeout =
CmdTimeOut
Dim ret = SqlCmd.ExecuteNonQuery()
SqlConn.Close()
Return ret
and pass the SQL Query:
ALTER VIEW [dbo].[tb_Custom_Join_1] AS SELECT [tb_Contact].[LastName]
AS [tb_Contact_LastName],[tb_Contact].(e-mail address removed)