Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres trim string

SELECT
	TRIM (
		LEADING '0'
		FROM
			CAST (0009100 AS TEXT)
	); -- 9100Code language: SQL (Structured Query Language) (sql)
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #postgres #trim #string
ADD COMMENT
Topic
Name
6+3 =