To generate GUID (Uniqueidentifier) you can use this. SQL: select NEWID() Update Records which has null values in GUID Field with new guids SQL: update [YourTableName] set [YourColumnName]=NEWID() where [YourColumnName] is Null
If you have an array of Integers and want to convert it into comma separated string. here is the following code //integer Array int[] arr = new int[5] {1,2,3,4,5}; string arrvalue= string.Join(",", arr); results will be arrvalue= "1,2,3,4,5"
Comments
Post a Comment