News

My post earlier this year on enabling query folding when using SQL queries as a data source in Power Query provoked a lot of interest. This post adds one more useful detail: how to preserve the ...
It’s surprisingly easy to stop query folding happening in Power Query by changing the data type of a column. This is mentioned in the docs here, and it’s something several people have blogged about ...
When SQL Server compares or combines columns of different data types, it has to convert them to a compatible type, which uses extra CPU and time. For example, comparing an INT to a BIGINT forces a ...
ts-sql-query is a type-safe query builder that provides a way to build dynamic SQL queries in a type-safe way, that means, the TypeScript compiler verifies the queries. Type-safe SQL means the ...
You can return query types from raw SQL queries using the FromSql method in the DbQuery type and they can participate in relationships as well. Finally, there are two limitations of query types ...
Welcome to the Visualizing your SQL queries module of the course! This part of the course will introduce data visualizations and commonly used packages. After getting familiar with the types of data ...
Dynamic SQL lets you create a query string based off of user input. SQL Server allows you to create dynamic SQL statements. The statements use a SQL string varchar data type, then you execute the ...
What is a Query? A query is a request that is asked in a formal manner. For example, relational databases require the use of a formal structured query language (SQL) to retrieve, modify, or manipulate ...