SSIS on a dedicated server? - We have a data warehouse SQL server and it has a lot of ETL SSIS running nightly on the server...
OMG - What have they done to Stored Proc Scripts??? - Just upgraded to SQL 2014 development environment. Please tell me how I can convert back to the old way of...
Running Totals with window function - I have a business requirement to produce a running total, but with a twist ... If the running total drops below...
MSDTC / AlwaysOn - We just implemented Always on for a couple of servers, and I am getting the following error when trying to...
Login can't be deleted because it granted permissions - I'm trying to delete an individual login from a server but am failing because the login "has granted one or...
Remove/Keep record based on group - Hi, I have the following data: declare @Policy table ( Download varchar(20), AccountNum varchar(20), RootPolicyNum varchar(20), PolicyNum varchar(20), CurrentStatus varchar(20) ) insert into @Policy (Download, AccountNum, RootPolicyNum, PolicyNum, CurrentStatus) select 'EQAutralia',...
Need help with datatype Time conversion - Hello All, I have source table with column nvarchar(20). the data looks like below. [b]Duration[/b] [b] 120:06:31.150 120:06:31.165 238:21:19.875 266:45:41.472 287:03:25.184 [/b] I...
indexes-non clustered - hi all how to sort non clustered indexes ? any suggestion on this
Need help on getting last day of the months in seconds for 13 months - I wrote the query and it returned the results only on the 28th of each month. [code="sql"] With cteMonths as ( select DATEADD(s, -1,...
Scalar function - Hi I need some help with this function below. I've not been able to get hold of my developer. In the db he...
INSERT Statement - How to Handle to Avoid Thousands - I have a table with the following four columns: [ProjectType] [ProjectSubType] [ProjectCategory] [ProjectSubCategory] I need to perform an INSERT statement of...
SQL 2008 database replication - Dear all, we have an installation with sql 2008 express, without Internet connection. What we need is to replicate the database...
SPSS .SAV File - How to open from SQL Server - I have a ".Sav" file in SPSS (Statistical Package for the Social Sciences). I'm trying to read the data using...
sql and stored procedure - How can I return select @@servername along with the result of this stored procedure - msdb.dbo.sp_get_sqlagent_properties in a single row. Result : Servername1,all columns...
Query Performance Issue with multiple unions and a view - Hello Gurus, I have a case where instead of looking too much into the indexes(Tables are not that big), I am...
Querying multiple databases - Hello -- We have twenty databases utilized by an application, and I want to be able to automatically query all the...
Need the query for system Information - Hi All, I want to prepare the database that needs to be capture Memory,CPU usage and disk space utilization from all...
How to find out what databases have not being used for a year - Hello, I started working in a company where we have 6 production servers with a lot of databases on each...
Script to Change Collation of User Database - Hello, Is their is any Script to change collation of user database ? The process Which I know; First Backup the User database 1.creation...
How to show the column wise data into row wise - Hi, i want to show the column data in row wise, can any one please help me how to write a...