Parse Json using Python with GitHub Copilot
This blog article shows you how to use GitHub Copilot to generate Python code to parse Json file. To setup GitHub Copilot environment see Create a Selection Sort in C# using GitHub Copilot In the...
View ArticleInstall MongoDB in Windows Operating System
This blog article shows you how to install MongoDB locally. First download the msi from the URL at the bottom of the blog. Run the msi file, for me is mongodb-windows-x86_64-7.0.12-signed.msi but your...
View ArticleRead MongoDB Database using Python
This blog article shows you how to read MongoDB data using Python. Below is the code snippet read the MongoDB database name mymongodb and collection mymongocol in a local MongoDB server...
View ArticleASP.NET Wen Application (.NET Framework) template missing
This blog article shows you how to get back the missing template, ASP.NET Web Application (.NET Framework). In many videos, they will ask you to add the .NET Framework project and item templates....
View ArticleMS SQL avoid primary key conflict when migrating data
This blog article shows you how to avoid primary key conflict when migrating the data from the previous database table to the current database table, assuming they have the same column. I use Products...
View ArticleHow Microsoft Secures Generative AI
Get guidance and insights on how to implement a secure generative AI process for your organization. In this white paper, you’ll explore ways that Microsoft helps you use AI safely. Read this white...
View ArticleTCP IP Socket programming using Python
This blog article shows you how to create a simple TCP listener and client. This code sets up a basic TCP server using Python’s socket module. Here’s a step-by-step explanation: #1. Import the socket...
View ArticleInspired by AI: Six Copilot Use Cases
Copilots have quickly become essential to delivering fast, personalised digital experiences that boost employee productivity and customer engagement. To accelerate business growth with these...
View ArticleCTO August 2024 articles and resources
These are the good reads found in this month. Is the gen AI bubble due to burst? CIOs face rethink ahead · Two out of three succeed · Think broadly · Take a measured approach…...
View ArticleGenerate Insert Statement from MS SQL Table
This blog article shows you a code snippet to generate INSERT statement based on the data in a SQL Server table. The code snippet is as follows. static void ExtractDataToInsertStatements(string...
View ArticleInsert XML to MS SQL Server XML Column
This blog article shows you how to insert a XML file into MS SQL Server XML column. The code snippet below writes to the XML column in SQL Server database table. static void Main(string[] args) {...
View ArticleSave MS SQL Server XML column to a file
This blog article shows you how to save the content in MS SQL Server database XML column to a file. The code snippet below saves the XML column to a folder path_to_save_xml_files. static void...
View ArticleVBA Round to Only the First Digit
This blog article shows you how to round to the first digit and set the rest of the digits to 0. The code snippet to do that as follows. Sub Round_to_the_nearest_thousand() Dim dbl1 As Double...
View ArticleGen AI is a game-changer for modern work
AI is already transforming organisations and the way people work by empowering people to create more business value. CIOs who prepare for implementing GenAI across their enterprise will successfully...
View ArticleCIO strategy guide: Managing organisational impacts of generative AI
Introduce and manage AI strategies across your organisation with comprehensive insights, tips and advice from experts for ongoing AI adoption. This blog is originated form here...
View ArticleCopilot for Microsoft 365 Adoption Playbook
Explore actionable steps to quickly become an AI-powered organisation, accelerate AI usage and track your company’s progress and impact. This blog is originated form here...
View ArticleSQL Server compare column to column
This blog article shows you how to compare column by column with two database tables. The condition is the column name and data type must be the same. The code below compares 2 tables. static void...
View ArticleAzure Map C# REST SDK
This blog article shows you how to use Azure Map to find the Geolocation. You can follow the link at the bottom to install the NuGet packages. You need to create a Azure Map in portal.azure.com with a...
View ArticleCreate MS SQL Server Database Table Relationship using Python
This blog article shows you how to extract the primary and foreign keys from MS SQL Database. The code snippet as follows. import pyodbc import pandas as pd # Connect to the SQL Server database conn =...
View Article‘charmap’ codec can’t decode byte 0x81 in position
This blog article shows you one possible way to resolve the error “’charmap’ codec can’t decode byte 0x81 in position.”. When you execute the code below. with open(input_file, ‘r’) as file:...
View Article