Skip to content

Column concatenation in Order by expression. Is it wrong?

What are pros and cons whether I use Order by expression like this: or in this way: How each one does impact on performance? Answer The concatenation is unnecessary and may produce incorrect results. For instance, consider these values: The concatenation will put the first row first. By individual keys, it wi…

Snowflake BIT datatype

i have BIT data type in sql server and i am trying to migrate it to snowflake but i am not able get the data into snowflake properly 0 goes as 0 but 1 goes into as 255 when i DT_UI1 data type to output the column in sql server can anybody help me how to send bit data type

Moving Data from SQL Server to Excel, Views or Query?

I have an Excel spreadsheet that pulls data from a view (that’s pulling from another view) in SQL Server, this was created by someone other than myself. Due to recent changes in how we are storing data in SQL Server, the views no longer actively reflect the data needed. The current Excel spreadsheet use…