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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Inserting a row into a...
Power Apps
Unanswered

Inserting a row into an SQL Table from Powerapps with the sql datatype sysname as column

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I want to submit a form / or patch an existing row which contains a sql datatype sysname.

I have this sysname in there because i'm doing Row Level Security on SQL side and i want the user to select, which users are allowed to see the new created row entry in Powerapps.

So when i try to insert a row from Powerapps to SQL with the datatype sysname, i get an error from the sql server, because Powerapps is sending it as text and the SQL Server expects a sysname.

 

Is there a way to cast text datatype to sysname in Powerapps?

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    From the SQL Server Connector document, we can know that Only the following data types can be mapped into PowerApps, so the sysname date type is not supported. If you want this feature, please consider submitting a idea to PowerApps Ideas Forum.

     

    SQL Server Power Apps
    bigint, decimal, int, money, numeric, smallint, smallmoney, tinyint, float, real Number
    char, nchar, varchar, nvarchar, text, ntext Text
    bit Boolean
    date, datetime/datetime2/smalldatetime, datetimeoffset, time DateTime
    uniqueidentifier Guid

     

    Hope this helps.

    Sik

  • Community Power Platform Member Profile Picture
    on at

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard