web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / text input convert int...
Power Apps
Unanswered

text input convert into varbinary and update to SQL table

(0) ShareShare
ReportReport
Posted on by 29

Hi all, I am creating an app that user can update some loging information and account details throguh the app and it will update to  SQL table.

However ,in SQL table strcure password column data type is "varbinary(MAX)" . So my question is how to update the password that user input through the "txt input" to SQL table with conversion of varbinary  

 

Example;
SQL Code  :
update [tbldialog] set AccountPassword = CONVERT(varbinary,'test@1234') from [tbldialog)] where userId = '256' ;

 

Thanks in advance!.

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @ruwna 

    Your varbinary column is not supported by the SQL connector.

    As per the documentation:

    Unsupported data types include the following examples: binary(), varbinary(), image, cursor, rowversion, hierarchyid, sql_variant xml, Spatial Geometry Types, Spatial Geography Types, and table.

     

    Consider using another data type for your column.

     

    I hope this is helpful for you.

  • ruwna Profile Picture
    29 on at

    Is there any other way of doing this action ? like connect with power automation + power Apps ?

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @ruwna 

    PowerAutomate uses the same SQL connector.  So it is not supported their either.

    If you have some need to convert to binary, then you will need to utilize a stored procedure and PowerAutomate to achieve that.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 337 Most Valuable Professional

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard