A software engineer's technical blog about dot net programming, dot net framework, dot net basics, errors and solutions, SQL, VBA, and much more.
The SQL Query for Removing leading zeroes from SQL Server field
The following SQL Query removes the leading zeroes from "Field" field
Select replace(ltrim(replace(Field1, '0', ' ')) , ' ', '0') FROM TestTable
Hey pal, you saved my day :)Thanks a ton!!
Hey pal, you saved my day :)
ReplyDeleteThanks a ton!!