Quote from
mazzu001 on January 12, 2020, 8:48 am
if you are using dbpExecSQL you could try something like this:
select SUBSTRING(yourcolumnname,0,100) from yourtablename
This can depend on the database server you are using, if that didn't work you could try something like:
SELECT SUBSTRING(CustomerName, 1, 100) AS ExtractString
FROM Customers;
Check this out for more detailed information. But it can be done with some tricky coding I believe...
https://www.w3schools.com/sql/func_sqlserver_substring.asp
You may be able to run this on an existing query. I have not tested it myself. I hope this points you in a productive direction.
if you are using dbpExecSQL you could try something like this:
select SUBSTRING(yourcolumnname,0,100) from yourtablename
This can depend on the database server you are using, if that didn't work you could try something like:
SELECT SUBSTRING(CustomerName, 1, 100) AS ExtractString
FROM Customers;
Check this out for more detailed information. But it can be done with some tricky coding I believe...
https://www.w3schools.com/sql/func_sqlserver_substring.asp
You may be able to run this on an existing query. I have not tested it myself. I hope this points you in a productive direction.
vwatson has reacted to this post.