SQL Server regular expression to find comma in middle of string -


मेरे पास ऐसा कोड स्निपेट है

 , @generalAgency_uniqueID, nvarchar (100), @ जोखिम रेखा के अन्तराल, nvarchar (100), @ rsk_transactionType, nvarchar (5), @ rsk_transactioneffectweightate, datetime   

मैं प्रत्येक लाइन के बीच में केवल अल्पविराम को स्पेस के साथ रिक्त स्थान के साथ बदलना चाहता हूँ नियमित अभिव्यक्ति।

कृपया मदद करें।

SQL सर्वर वास्तव में नहीं है नियमित अभिव्यक्ति की कार्यक्षमता को बदलते हैं यद्यपि आप इसे नकल करने की कोशिश कर सकते हैं, यहां एक अलग दृष्टिकोण है:

  1. कुछ असामान्य अनुक्रम के साथ ',' ' बदलें
  2. का चयन करें (प्रतिस्थापित करें (चेले, ', @', '*** काश मैं रेगेक्स पुनःस्थापित किया गया था ***'), ',', ''), '*** मैं जानना चाहता हूं कि रीपेक्स का स्थान ***' , ', @')

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -