Logo
X
  • Who We Serve
    • By Role

      • CEO / Business Executives
      • CTO / IT Professionals
      • COO / Operations Head
    • By Industries

      • Healthcare
      • Digital Commerce
      • Travel and Transportation
      • Real Estate
      • Software and Technology
  • Our Technology Focus
    • Web
    • Mobile
    • Enterprise
    • Artificial Intelligence
    • Blockchain
    • DevOps
    • Internet Of Things
  • Discover Daffodil
    • About
    • Leadership
    • Corporate Social
      Responsibility
    • Partners
    • Careers
  • Resources
    • Blog

    • E-Books

    • Case Studies

    • View all resources

  • Who We Serve
    • By Role

      • CEO / Business Executives
      • CTO / IT Professionals
      • COO / Operations Head
    • By Industries

      • Healthcare
      • Digital Commerce
      • Travel and Transportation
      • Real Estate
      • Software and Technology
  • Our Technology Focus
    • Web

      Create responsive web apps that excel across all platforms

    • Mobile

      User centric mobile app development services that help you scale.

    • Enterprise

      Innovation-driven enterprise services to help you achieve more efficiency and cost savings

      • Domains
      • Artificial Intelligence
      • DevOps
      • Blockchain
      • Internet Of Things
  • Discover Daffodil
    • About
    • Leadership
    • Corporate Social Responsibilities
    • Partners
    • Careers
  • Resources
    • Blog

      Insights for building and maintaining your software projects

    • E-Books

      Our publications for the connected software ecosystem

    • Case Studies

      The impact that we have created for our clients

    • View all resources
daffodil-logo
Get in Touch
  • What We Do
    • Product Engineering

    • Discover & Frame Workshop
    • Software Development
    • Software Testing
    • Managed Cloud Services
    • Support & Maintenance
    • Smart Teams

    • Dedicated Teams
    • Offshore Development Centre
    • Enterprise Services

    • Technology Consulting
    • Robotic Process Automation
    • Legacy Modernization
    • Enterprise Mobility
    • ECM Solutions
  • Who We Serve
    • By Industry

    • Healthcare
    • Software & Technology
    • Finance
    • Banking
    • Real Estate
    • Travel & Transportation
    • Public Sector
    • Media & Entertainment
    • By Role

    • CEO / Business executives
    • CTO / IT professionals
    • COO / Operations
  • Our Expertise
    • Mobility
    • UI/UX Design
    • Blockchain
    • DevOps
    • Artificial Intelligence
    • Data Enrichment
    • Digital Transformation
    • Internet of Things
    • Digital Commerce
    • OTT Platforms
    • eLearning Solutions
    • Salesforce
    • Business Intelligence
    • Managed IT Services
    • AWS Services
    • Application Security
    • Digital Marketing
  • Case Studies
  • Discover Daffodil
    • About us
    • Partnership
    • Career & Culture
    • Case Studies
    • Leadership
    • Resources
    • Insights Blog
    • Corporate Social Responsibility
Get in Touch
blog header image.png

Software Engineering Insights

Magical CRUD and Performance Levels

Aug 28, 2015 4:40:49 PM

  • Tweet

CRUD is backbone of every platform applications either Desktop, Web or Mobile apps. Basic concept of CRUD is similar in all databases RDBMS and NOSQL . Operations like Select, Insert, Update and Delete have there different performance levels on system; where Insert is on Top and Delete is on Bottom.

As my first post on this blog, I will share my knowledge about the hidden magic table which is working behind Update query. It will clear some misconception, see below two SQL Server Queries

UPDATE client set name='Daffodil Software Ltd'

Result : (7 row(s) affected)

UPDATE client set name='DBCC Pvt Ltd' where Company_id=111

Result : Error
Msg 229, Level 14, State 5, Line 6
The SELECT permission was denied on the object 'client', database 'TestDb', schema 'dbo'.

I have a table client with 7 records in my test database and a user “Appuser”. Appuser has no permission to select on table but it has permission to update records on name column. When our Appuser executed the 1st query, it executed successfully and updated 7 records. But when it executed the 2nd query it gave an error message 229. This error is related to the “Select” permission.

I learned a few things from above queries:-

1. Update uses “SELECT” when we use WHERE clause, which implies updating some specific records only.
2. When we update all records, no magic table will work.
3. Update with 'where' clause is slower because it is executing two queries.
4. We can update all records without select permission into table.

CRUD Performance Level.

We should design our application by considering CRUD operation's performance level .

1. Minimize Delete, More update and Most inserts.
2. We should do soft deletes instead of hard deletes from database. Hard deletes and more updates create fragmentation issues in database and then database will be subjected to performance issues, then it will require periodic maintenance. More maintenance more downtime, only leading to frowns on the client side.
3. Now-a-days storage has become cheaper so we should not worry about the size and cost of storage.

CRUD functions form the backbone of database and storage. And I am sure the above query will resolve a lot many glitches that many database workers come across. I hope you enjoyed reading the blog and to stay posted with the most latest news around Web, Mobile and Cloud, please subscribe using the subscribe button to your right.

Team Daffodil

Written by Team Daffodil

We equip smart companies with smarter solutions. Our all-round expertise in Web, Mobile and Cloud solutions has brought about a change in some of the top businesses, setting global milestones as we go.

[fa icon="facebook-square"] [fa icon="linkedin-square"] [fa icon="twitter-square"]

Previous Post

previous_post_featured_image

Frontend Technologies that Spell Magic for Startups

Next Post

next_post_featured_image

Setting up Multiple Websites, Stores & Views on Magento

Stay Ahead of the Curve with Our Weekly Tech Insights

  • Recent
  • Popular
  • Categories

Lists by Topic

  • Software Development (176)
  • Artificial Intelligence (172)
  • Mobile App Development (167)
  • Healthcare (137)
  • DevOps (80)
  • Digital Commerce (61)
  • Web Development (58)
  • CloudOps (54)
  • Digital Transformation (37)
  • Fintech (36)
  • UI/UX (29)
  • Software Architecture (27)
  • On - Demand Apps (26)
  • Internet of Things (IoT) (25)
  • Open Source (25)
  • Outsourcing (24)
  • Blockchain (21)
  • Newsroom (21)
  • Salesforce (21)
  • Technology (19)
  • StartUps (17)
  • Software Testing (16)
  • Customer Experience (14)
  • Voice User Interface (14)
  • Robotic Process Automation (13)
  • Javascript (11)
  • OTT Apps (11)
  • Business Intelligence (10)
  • Data Enrichment (10)
  • Infographic (10)
  • Big Data (9)
  • Education (9)
  • Microsoft (6)
  • Real Estate (5)
  • Banking (4)
  • Game Development (4)
  • Enterprise Mobility (3)
  • Hospitality (3)
  • eLearning (2)
  • Public Sector (1)
see all

Posts by Topic

  • Software Development (176)
  • Artificial Intelligence (172)
  • Mobile App Development (167)
  • Healthcare (137)
  • DevOps (80)
  • Digital Commerce (61)
  • Web Development (58)
  • CloudOps (54)
  • Digital Transformation (37)
  • Fintech (36)
  • UI/UX (29)
  • Software Architecture (27)
  • On - Demand Apps (26)
  • Internet of Things (IoT) (25)
  • Open Source (25)
  • Outsourcing (24)
  • Blockchain (21)
  • Newsroom (21)
  • Salesforce (21)
  • Technology (19)
  • StartUps (17)
  • Software Testing (16)
  • Customer Experience (14)
  • Voice User Interface (14)
  • Robotic Process Automation (13)
  • Javascript (11)
  • OTT Apps (11)
  • Business Intelligence (10)
  • Data Enrichment (10)
  • Infographic (10)
  • Big Data (9)
  • Education (9)
  • Microsoft (6)
  • Real Estate (5)
  • Banking (4)
  • Game Development (4)
  • Enterprise Mobility (3)
  • Hospitality (3)
  • eLearning (2)
  • Public Sector (1)
see all topics

Elevate Your Software Project, Let's Talk Now

Awards & Accolades

dj
dj
dj
dj
dj
Aws-certification-logo
microsoft-partner-2-1
microsoft-partner
google-cloud-partne
e-UI-Path-Partner-logo
partner-salesforce-reg-consulting-partner-1-1
daffodil-logo
info@daffodilsw.com
  • Home
  • About Daffodil
  • Locations
  • Privacy Policy
  • Careers

© 2025 Daffodil Unthinkable Software Corp. All Rights Reserved.