我已经SELECT
在存储过程中修改了我的语句,以便它的“票证”列包含指向某些 javascript 操作的超链接,但它给了我错误提示Invalid Column Name Ticket
Set @SQL = 'Select ''<a href=' + CHAR(39) + 'javascript:editTicketByIDAction(' + CONVERT(VarChar(Max), Ticket) + ')' + CHAR(39) + '>' + CONVERT(VarChar(Max), Ticket) + '</a>'' Ticket,VendorTicket[Vendor Ticket],Comments From dbo.VendorTickets Where NotifyOn <= GetDate() And IsNull(NotifyOn,0)<>0 '