world wide web development problems asp net php html xhtml css javascript jquery w3dproblems
public static Guid Int2Guid(int value) { byte[] bytes = new byte[16]; BitConverter.GetBytes(value).CopyTo(bytes, 0); return new Guid(bytes); }
CAST(CONVERT(BINARY(16), REVERSE(CONVERT(BINARY(16), 13))) AS uniqueidentifier)
No comments:
Post a Comment