© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
3 replies
squidgemonster

SQL Editor UPDATE command not working...

Hello Supabase community - I hope this is a simple question, as everywhere I've asked for advice I believe I've got my syntax right, but try as I can, I can't get a pretty simple SQL UPDATE query to work.

I'm trying to copy a value from within one of my jsonb columns to a dedicated column, for performance reasons... but I enter the following into the web Supabase SQL Editor:

update
  public.table_name
set
  name = jdata->>'nameId'
where
  name is null;
update
  public.table_name
set
  name = jdata->>'nameId'
where
  name is null;


And when I run it I just get the result of 'Success. No rows returned' and the table doesn't show any changes...

Any thoughts?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

SQL Editor
SupabaseSSupabase / help-and-questions
7mo ago
SQL EDITOR IS BROKEN
SupabaseSSupabase / help-and-questions
3y ago
Table Editor to SQL
SupabaseSSupabase / help-and-questions
4y ago
Migrate Command not working
SupabaseSSupabase / help-and-questions
4w ago