篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql Ticket po nazwie wniosku i ID klienta相关的知识,希望对你有一定的参考价值。
SELECT *
FROM [NAME_OF_DATABASE].[dbo].[EF_DraftPackage]
WHERE [edp_Name] = 'NAME_OF_DRAFT'
AND [edp_User_ID] = 'CUSTOMER_ID'
COPY [edp_ID] value
SELECT TOP 1 *,
CAST([edf_Xml] as xml) as xml
FROM [NAME_OF_DATABASE].[dbo].[EF_DraftForm]
WHERE [edf_DraftPackage_edp_ID] = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' // [edp_ID]
SELECT TOP 1 [tc_ID]
FROM [Eformularze].[dbo].[Ticket]
WHERE [tc_DraftForm_ID] = 'yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy' // SEARCH IN [edf_Xml] FROM PREVIOUS QUERY
以上是关于sql Ticket po nazwie wniosku i ID klienta的主要内容,如果未能解决你的问题,请参考以下文章