Skip to content

Tag: sql-server

Joining Temp Tables Using Indexes

I’m just beginning to learn about INDEX and I’ve heard it could speed up results but my testing is having the opposite effect. Some points about the data: My company uses a SQL Server but I don’t know much else beyond that I’m just an employee and don’t have any sort of admin acc…

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 ,