Skip to content

Tag: sql

why does SQL server consider SS as an Umlaut-S (ß)?

When I run the below query: it returns a 6. I specifically chose ß for a function as I thought it very unlikely to appear in any of my data. This was working perfectly fine for several weeks but now all of the sudden it’s detecting ß where there is no ß and therefore screwing up my function. Will someon…

need to have data till 3 dots in SQL

I am having data query with me it gives version of windows update DECLARE @variable VARCHAR SET @variable = ‘Windows client Update’ SELECT DISTINCT (v_GS_WINDOWSUPDATEAGENTVERSIO.Version0) AS …

Calculate Duration of Two time

Hi I am new to my sql I am trying to compute the duaration of two time ex: timestart = 21:00 timeend = 03:00 result will be 06:00 my query is like this for compute but it gives me result of 18:00 I …