How would you lock down a SQL DBA to have local admin on the SQL box - I would like to know if we can create a separate group or what permissions on the server should be...
CTE Crazy: Sums, Counts and Pivots I'm missing something here - I've not had to use SQL for a while and I'm having trouble getting to grips with aggregates again. In the...
DTSX Pkg From Stored Procedure (completely frustrated) - Help please!! I am bruised and bloodied from mashing my head, for two weeks now, against stuff I do not...
Best way to handle moving data in a varchar(max) field? - Any ideas how to efficiently move a lot of rows from a table in the OLTP to an archive on...
How does SQL Server handle concurrent operations? - Hello, We are having an issue which I suspect is database related. We have a web application on which we can...
AVG a range of dates while grouping them by supplier - I have multiple suppliers with a purchase order date. I'm trying to calculate the average time between purchase orders but...
SSRS Report: Any way to copy or download either an RDS file or the text needed to create one? - It's been a while since I dealt with SSRS. Am hoping to find an easy way to either download a...
SQL uses 2 different executions plan (slow and fast) for a simple query. Need a new index ? - Hi everyone, I am experiencing a performance issue with one process in our system. The performance issue is intermittent, the users...
SQL Server 2012, update Stats and Index Organize taking 16 hours for execution?? - Hi, We have SQL Server 2012, On production database SQL job update Stats and Index Organize taking 16 hours for execution. Size...
Rounding issue - How do I round 0.85415 to 1 ? I am getting a 0 instead . Thanks,
How to handle very large dataset - I need to find the most recent post date for all the invoices in my table. There are millions of...
finding the right index - We use a program for EDI in our company. One of the screens shows us a list of sent documents. ...
How can I leave only only 10 days of SQl Server logs in sql server??? - Dear Fiends inside "Management> SQL Server Logs" I want to automatically delete old logs How can I leave only only 10 days...
DBase DBF files import, but having trouble with DBV Memo files - Hi guys, I am trying to convert an old Dbase application to .NET / MS SQL. I had no problems getting a linked...
removing dups for update - This is the temp table I have ID empnum email fName lname 1 123 a@a.com tim slim 2 124 &
union with constant values - Hello, I'm doing this: ... union select 'EVY', 'Everyone', ... from ... where ... and @Grouping = 'false' That @Grouping = false still returns the row if the value is true....
Assistance with fixing the output of a query to be used for a datafeed. - I have written the query below which returns the data in format shown in the screenshot shown below. For the...
Splitting a Full Name - I'm trying to split a full name column up into First / Middle / Last....but some of the names are like "Joe...
Data Warehouse automation tool suggestions? - I'm looking into the available tools in preparation to develop a first data warehouse, if you've used a Data Warehouse...
Find birthdays of a week - Hi, Assuming that the week starts from Sunday and ends on Saturday,can anyone provide me with a query to find all...