Blog
Azure SQL database migration | Migratie naar Azure
Azure SQL database migration | Migratie naar Azure

Oracle migration to Azure SQL database – Part 2

We’ve been approached by two clients in recent months to help them transition legacy Oracle systems to the Azure platform. In the previous blog, we explained how our tiered web applications make it easy to maintain the software we develop. And indeed, to migrate from one database to another. We asked Eric Wijnands to tell us about one of his current projects, moving a Banking solution from Oracle to an Azure SQL database.

Who’s Eric?

Eric has been part of BSL for more than 20 years and now works as System Architect. He’s met many of our clients, and led many BSL development projects. He has a wealth of development experience. Although he remains faithful to Windows, he’s worked on many server platforms using a range of technologies.

We asked Eric about his first impression of Azure

Learning about Azure was initially a little daunting.

Azure offers a family of managed cloud services that use the SQL Server database. There are several flavours of Azure SQL, ranging from an Azure SQL database, through Azure SQL managed instances, to a dedicated  SQL Server on VM.

For BSL projects, the most relevant platform is the Azure SQL database – it’s sometimes referred to as a Platform-as-a-Service (PaaS). It supports most of the SQL Server features with which we are familiar. However, it’s a cloud service provided by Microsoft. They offer 99,995% availability, built-in backups, patching and recovery. So all the benefits of SQL Server, without the admin, or the need for an on-premise server. What’s not to like? And as a “pay-as-you-go” service, it can be instantly scaled up to meet demand.

So, what about moving SRS from Oracle to Azure?

We’ve frequently used Oracle for our developments, as it contains features that are not available in other databases. However, BSL has always been flexible, so for some clients, we’ve also built and supported SQL Server solutions for several years.

We’re familiar with both SQL dialects (Transact SQL for SQL Server, PL/SQL for Oracle). We are also aware of the different data types supported in both databases. Nevertheless, Azure SQL database service was new, so our first steps migrating SRS included setting up Azure accounts, creating simple test databases, and updating our Java DB libraries to connect with Azure SQL.

Are there any tools to help you make the transition?

We initially used a Microsoft tool (Microsoft SQL Server Migration Assistant for Oracle, or SSMA) to convert the Oracle Tables and Packages. While this successfully converted many of the data structures, we were less impressed with the code translation. Microsoft tries very hard to emulate missing Oracle features using functions. Unfortunately, the generated code is difficult to read and maintain in the future.

We then tried the SQLines open source tools. SQLines can help you transfer data, convert database schemas (DDL), stored procedures, functions, packages, triggers, views, queries and SQL scripts from Oracle to Microsoft SQL Server and Azure SQL.

With the online version of SQLines, we converted all the Oracle packages. The converted code was much more readable than that produced by SSMA. It is a more one-to-one translation of the Oracle code. Furthermore, with their SQLines Data tool, we not only transferred the data from Oracle to SQL Server but also used the scripts to re-create the tables in Azure SQL Server, including the column comments and indexes.

Were there any specific challenges?

The Oracle type ORDImage does not exist in Azure SQL Database. We use this to store binary contents (such as images) and the mime-type of the content. In Azure SQL server we created new tables, replacing this data type by two separate columns—one for the binary data, the other for the mime-type.

We optimised some data types. For example, we replaced Oracle NUMBER(1) attributes (intended to store Booleans) to the SQL Server type BIT. This change saves space and can improve performance.

When converting SP’s, what issues did you need to resolve?

We were converting about 20,000 lines of code, and just over 200 stored procedures. We had to check/edit almost every one of the methods after conversion by SQLines. Sometimes we needed to change our error processing so that our client applications can recognise the results. However, there are many other substantial differences in syntax. Both the Microsoft tool and SQLines take many of these differences into account, but our developers still have to review and modify the code after conversion.

Some of the most frequent issues we encountered are:

  • Oracle automatically performs a conversion between numbers and strings, while SQL Server does not.
  • Oracle makes no distinction between NULL and an empty string, while SQL Server recognises that distinction.
  • XML manipulation in Oracle (XML DB) differs greatly from the techniques available within an Azure SQL database. However, using new Transact-SQL code, we could produce the same results.

In total, we needed around 12 person-days to perform these edits. We converted the entire database, sources and data in approximately 14 days.

And what’s your opinion of the Azure SQL database platform?

For Eric, his answer was short – and clear: “Using the Azure SQL Database works fine, and we can access the database easily. Once we’ve created the server and instance, we are confident that they will require little maintenance”.

Get in touch

Have you got plans to migrate your in-house system to Azure SQL database or any other databases mentioned in this article? Talk to us. Perhaps we can help. You are welcome to contact our relations manager at any time. She can set up an online call.

Pulse – enhanced user experience and embedded AI

Pulse – enhanced user experience and embedded AI

Pulse just got better! Our latest Pulse release, developed for PricewaterhouseCoopers (PwC) by BSL, leverages cutting-edge Azure AI technology. It introduces new AI-based features such as translation, summarisation, and sentiment analysis. We’ve also redesigned the user interface for an improved user experience.

Progressive Web Apps in EU undermined by Apple?

Progressive Web Apps in EU undermined by Apple?

If you aren’t familiar with mobile app development, you may not know that Apple has recently thrown a rather large spanner into the iOS ecosystem. Since the early betas of iOS 17.4 were made available, developers noted that so-called “Progressive Web Apps” (PWAs) were no longer functional in the EU. Our blog explains more.

The role of AI in Business Intelligence for multinationals

The role of AI in Business Intelligence for multinationals

BSL delivers Business Intelligence solutions to multinational organisations, integrating content from thousands of publications worldwide and delivering daily themed news alerts and briefings to business users. Recently, we’ve introduced AI technologies to these services, and our latest blog post highlights some of the benefits.

Whiteboards and the Canon of the Netherlands app

Whiteboards and the Canon of the Netherlands app

Recently, a digital whiteboard supplier called CTOUCH reached out to BSL, requesting permission to include the Canon of the Netherlands app in their store for use on their digital whiteboards in classrooms. We liked the idea and recently created a special version of our app designed specifically for the big screen.

Google Looker Studio: Making sense of big data

Google Looker Studio: Making sense of big data

In today’s fast-paced world, making quick and well-informed decisions is crucial. Google Looker Studio is a free tool that can give you a significant advantage. It can help you transform your vast amount of Analytics data into informative, easy-to-read dashboards and reports that are completely customizable.

Let BSL take care of your website maintenance updates

Let BSL take care of your website maintenance updates

We understand the importance of regular website maintenance updates for WordPress and Drupal. Hackers sometimes target popular open-source products, so keeping your CMS and any plugins up-to-date is essential. Trust BSL to keep your website up-to-date and secure while you focus on crafting persuasive content for your audience.

BSL Summer event on the water

BSL Summer event on the water

It was time for our annual summer event with the whole company. This year, Diana arranged a boat trip in a salon boat along the Vecht towards Loenen and Vreeland. After the boat trip, the summer event continued in the restaurant of Bistrotel ‘t Amsterdammertje, where everyone enjoyed a delicious dinner.

Adobe Firefly and Photoshop Beta with generative fill

Adobe Firefly and Photoshop Beta with generative fill

After the success of ChatGPT and Midjourney AI – both already in use at BSL – Adobe didn’t want to be left behind and made public their Beta releases of Adobe Firefly and Photoshop AI. With the arrival of the Adobe Betas, we’ve turned our attention to the new kids on the block, comparing them with Midjourney.

Midjourney prompts – Describing your perfect image

Midjourney prompts – Describing your perfect image

In an earlier blog, we introduced Midjourney as a tool we use within BSL when designing websites and banners for blogs. To direct Midjourney to create the image you have in mind, you need to write a prompt describing the image. This new blog discusses Midjourney prompts and some of the commands and parameters you can use.

Drupal 9 development using Tailwind CSS

Drupal 9 development using Tailwind CSS

Using Drupal, BSL has developed an extensive Intranet site to which we all have access. We’re developing a new version of the site, and in this blog, one of our developers talks about some of the tools we are using, including Twig templates, the Entity and Form APIs and Tailwind CSS.

Midjourney AI – Turning your ideas into images

Midjourney AI – Turning your ideas into images

Over the past few weeks, BSL has been exploring the many possibilities offered by Artificial Intelligence. This latest blog describes the use of Midjourney AI, a web service that generates images based on natural language descriptions (“prompts”). The results are impressive. Read our blog to find out more.

The benefits of long-term partnerships

The benefits of long-term partnerships

NBD Biblion offers personalised book and media title recommendations to schools and libraries, and supplies their clients with the titles they select. BSL has had a long-term partnership with NBD Biblion for more than twenty years, delivering development teams, technical advice, and support.

ChatGPT for business information analysis

ChatGPT for business information analysis

After the initial enthusiastic response to the introduction of ChatGPT and AI, attention switched to the unreliability of many ChatGPT answers. However, using Azure OpenAI (ChatGPT) and Cognitive Search with reliable data, we can deliver reliable, high-quality business information in response to natural language queries.

Browser engine wars – Part 2 – The impact of Apple’s iOS monopoly

Browser engine wars – Part 2 – The impact of Apple’s iOS monopoly

The Apple iOS monopoly means that every app on iOS – including browsers from Apple’s competitors – must use WebKit to display web content. While it’s not uncommon for browser developers to use a third-party engine, they can usually control which engine features they use in their browser and – if needed – add custom features.

Browser engine wars – Part 1 – How did we get here?

Browser engine wars – Part 1 – How did we get here?

The Register recently reported that Google is working on an iOS version of Chromium. A few days later, a second article claimed that Mozilla is working on an iOS version of Gecko, Firefox’s browser engine. Both reports suggest that the Apple browser engine on iOS, WebKit, is in danger of losing its monopoly.

Donation on behalf of earthquake victims in Turkey and Syria

Donation on behalf of earthquake victims in Turkey and Syria

On Monday, 6 February, several powerful earthquakes and aftershocks hit Turkey and Syria. This disaster affects as many as 23 million people, including many who are already in desperate need due to the conflict in Syria. If possible, please join us in making a donation on the Giro555 website.

WordPress and page-builders such as Divi and Elementor

WordPress and page-builders such as Divi and Elementor

For building websites on behalf of clients, we often use WordPress together with page-builders, making it easy to prototype and develop modern, responsive websites. With page-builders such as Divi and Elementor, you can easily and quickly design and build pages to match almost any design.

2022 and the Bright Side of Life

2022 and the Bright Side of Life

Taking the time to reflect regularly on the things we are grateful for at the Bright Side can help shift our perspective to focus on the positive aspects of our work. So, here are the things for which I’m grateful in 2022.

SEO benefits, and the power of good-quality content

SEO benefits, and the power of good-quality content

Many business owners still think their websites are merely visiting cards. Their “go-to” expression is: “our clients/audience already know where to find us…”. This may be true, but optimizing your website will reach new clients and audiences.

New Keylane Careers website

New Keylane Careers website

Keylane asked BSL to help design and build a new Careers website. The main aim is to increase the number of visitors by improving the organic search performance. To achieve this, we’re introducing a new design and adding blogs.

Cloud provider migration: What are the benefits?

Cloud provider migration: What are the benefits?

The focus of Cloud computing is to improve the efficiency of IT services. By choosing a cloud-based solution, organisations can stay up-to-date with technology innovations and benefit from higher scalability, lower expenses, and enhanced security.

A new website for BoekWijzer

A new website for BoekWijzer

We’ve completely revamped the BoekWijzer website! The website was built to support the BoekWijzer app, the mobile guide to the world of Dutch literature. Using the app, you can quickly and easily stay up to date with the latest literary news.

New developer / web designer at BSL

New developer / web designer at BSL

If you have any questions about your website or web design in general, then Patrick van Bennekom is ready to help you five days a week at BSL. Patrick helps to design and create websites and apps for our customers, including the design of logos and house styles to deliver a professional end product.

Migrating to the Cloud, benefits and opportunities

Migrating to the Cloud, benefits and opportunities

Several of our clients are migrating to the Cloud, and some that aren’t yet ready for this step are reviewing their legacy systems, intending to migrate to the Cloud in the future. We’ve recently completed two migrations on behalf of multinationals, and our experience has taught us that a direct approach (simply redeploying existing databases and applications on virtual machines) is not always the best route…

Beleev: Controlled Multisensory Environments

Beleev: Controlled Multisensory Environments

Perhaps you have never heard of snoezelen, a Dutch term that describes controlled multisensory environments (MSE) that stimulate various senses within a custom environment – a so-called “Snoezel” room. On behalf of St. John the Baptist special education school in Kerkrade, we’ve created custom software to create and manage so-called “Snoezel” rooms, controlling, lights, audio, switches and a video projector.

Goodbye 2021 and COVID-19 lockdowns – It’s time to look back

Goodbye 2021 and COVID-19 lockdowns – It’s time to look back

So who, in early 2020, thought that we’d still be operating under COVID-19 lockdown measures in January 2022? Luckily, my skill set has given me a better understanding of software development and technology than catering or hospitality. As director of an IT company, I’m happy to say that Bright Side of Life has taken to remote working as a fish to water. Let me tell you about our year.

Canon of the Netherlands apps now available in stores

Canon of the Netherlands apps now available in stores

The Dutch Canon of the Netherlands (2007) tells the story of how the Netherlands was formed. Using the Canon, BSL developed the popular EnToen Nu apps for iOS and Android a few years later. In 2020, the Canon was extensively revised, so we’ve completely rewritten the Canon apps, bringing them up-to-date, making them faster and even more fun to use. They’re now available in the app stores.

Integrating powerful AI search capabilities within apps and web-services

Integrating powerful AI search capabilities within apps and web-services

Search technology is continually evolving, so we’re always ready to adopt new technologies to meet specific client needs. This blog outlines our recent experiences with Azure Cognitive Search and Cognitive Search AI services – classifying thousands of new documents each day, delivering customised briefings to subscribers. Using Machine Learning and AI we can create intelligent search prototypes in just a few weeks.

Canon of the Netherlands apps coming soon!

Canon of the Netherlands apps coming soon!

The Committee on the Development of the Dutch Canon developed the Canon of the Netherlands in 2007. BSL developed the EnToen app a few years later, and since its launch in 2013, it has been a top-rated school app. In 2020, a new Canon Committee updated the Canon. We’re now busy working on new Canon Apps, with a modern look, and using the latest technical know-how.

4

Previous

5

Next

Contact BSL