Skip to content

Present URI in database as clickable link

I have a table in a SQL Server 2019 that stores URI’s like this: These values are stored as nvarchar. Is there a way to make these clickable? So that, when this table is for example read by PowerQuery users only have to click the link to open the file? It is assumed that only those filetypes are allowed…

Pivot monthly data from the past years

Here’s the data from my original query: Store Name Month Transaction Count 0001 – Loc1 2018December 245 0002 – Loc2 2018December 261 0001 – Loc1 2018November 232 0002 – Loc2 2018November 218 0001 – Loc1 2018October 123 0002 – Loc2 2018October 144 0001 – Loc1 201…

GROUP CONCAT and LEFT OUTER JOIN to split

I’m working with SQL Workbench. This is an example of the tables I have: I have not created this DB and can’t modify it. Each building corresponds to a site, so it contains a KEY to such site. Same with levels and buildings. I am trying to get this result the first two columns are easy, but I&#821…

Updating Date in Access

I want to simply update a date column within a table where a status exists. Here’s what I have I have tried the following Nothing has gone through, no errors, just not updating. I can update the field manually. Answer Answers were correct, silly issue about the Trust Center ‘enable’ bar not showing, therefore…

How to write an optional condition in SQL Join

I have two tables. One is the Transaction table and the other is the PriceBook table. I want to select the price from the PriceBook table, matching with the ItemID, Assortment and UnitID with Transaction table. But the UnitID match is optional, so if there is no match with UnitID, I want to have the matching …

Update column by removing text in braces

I need to update single column for all the rows in a table. The update should happen in such way that data needs be filtered out by removing all text where braces are appended for the string and swap the strings separated by ‘,’. Example: As per the above example, I need the final data to be somet…