Skip to content

Tag: sql

Converting Data Type for SQL Server View

I am trying to query a SQL view to show the transactions for the last business day (i.e. the day before, or the Friday if the day the query is ran is Monday). My query looks like this: I get the following error when I try to run this query: Msg 257, Level 16, State 3, Server PMICDB01A, Procedure ,

SQL – WHERE NOT EXISTS [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I have a table with employees ID NAME SALARY and I am getting the employee with the most sala…