Skip to content

Tag: sql

Unable to make raw SQL calls from Entity Framework Core

I am working on a project where I am moving specific rows from a table between multiple different environments. The table has an Identity column and when I try to move it I get an error that Identity_Insert is off. Looking at several of the questions on here one of the solutions has been to call Context.Datab…

How to see hidden or escape characters inside a varchar column?

Using MySQL 5.6. I have a varchar column that stores addresses as text. When they come through to my application into a text area box, they are spaced appropriately, like I tried inserting a new address directly into the database but it doesn’t work correctly inside the GUI, it all came in as one line w…