Showing posts with the label
sql-server-2005
Issue SELECT logcount, logUserID, maxlogtm , DATEDIFF(day, maxlogtm, GETDATE()) AS daysdiff FROM…
Issue I have the following table Name | Subject | Marks -------------------------- a …
Issue I have the following two T-SQL statements that I really need to combine: SELECT Aircraf…
Issue I have a Kimball-style DW (facts and dimensions in star models - no late-arriving facts rows …
Issue Is there a quick and easy way to list when every index in the database last had their statist…
Issue I am pretty much new to bcp but I researched quite a bit and can not find any resource that s…
Issue I need to create a backup of a SQL Server 2005 Database that's only the structure...no re…
Issue I'm writing stored procs that are being called by a legacy system. One of the constraints…
Issue I want to get only Time from DateTime column using SQL query using SQL Server 2005 and 2008 …
Issue I'm writing an SQL Query, where a few of the columns returned need to be calculated depen…
Issue I would like this to be the ultimate discussion on how to check if a table exists in SQL Serv…
Issue I am just confused with the execution sequence of a SQL query when we use GROUP BY and HAVIN…
Issue This may be a pretty naive and stupid question, but I'm going to ask it anyway I have a…
Issue I am modifying a sql server 2005 stored procedure slightly for performance, and I would like …
Issue In the SQL Server, I am trying to insert values from one table to another by using the below …