Saving data in integer form is always more reliable than a character or string.
Create two tables such as blog_status and blog_details
In blog_status, maintain the blog’s master status, as you said, a project that is awaiting and publishing the blog_status table structure
Create table blog_status ( blogstatus_id int, blogstatus_desc varchar(10), primary key(blogstatus_id) )
And then create another table where you want to use blog_status in this way, you can always improve the reusability and performance of your application.
Create table blog_details ( blog_id int, blog_title varchar(10), blog_postingdate datetime, blog_postbox varchar(max), blog_status int,
It makes no sense to use the expression x ^ 2 or the formula. I hope I clarified your doubts. If you find the answer helpful, please mark it as your answer, let me know ...
source share