Can't Shrink TEMPDB - Hi All, I am getting an odd error when trying to shrink tempdb a little bit DBCC SHRINKFILE: Page 7:2275824 could not...
SQL 2016 link server - Our environment requires that I create a link server from SQL to Oracle. The current production system functions as expected....
Error moving log.ldf - Hi all, Tried moving log.ldf to another drive but hit error. Script and error as below... ALTER DATABASE dbName set offline ALTER DATABASE...
Upgrade to 2016 questions - All, Unfortunately we are still running a SQL server 2000 server. I've got provisional approval to upgrade it this year so...
ToolBox missing for Maintenance task - This morning I logged into SSMS SQL2016 to edit a maintenance plan. I would add a cleanup task. But I noticed...
SSIS: Case clause with sintax error - Dear all, I am creating a derivated column task. It has a case in the expression but I always get the...
The order of TRUNCATE and DROP / DISABLE NONCLUSTERED INDEXES - Hi folks... I'm hoping for some guidance on TRUNCATE and NONCLUSTERED INDEXES. I've been told conflicting information from a couple...
Get the year and Qtr - Ia am trying to get the year and Qtr from my date column which has values like- YYYY-MM (2017-02). I...
Query running slow across linked server - Hi all Firstly, apologies for the lengthy post, but I'm trying to get everything in I thought would be useful. I've got...
.bat file fails in SSIS - I have created a Execute Process task that runs a .bat file. This bat file creates a very small .txt...
TSQL Query help plz.. - Hi All, Need tsql help please. Below is the sample schema/tables and description is written at the end(my requirement). use master go...
How to encrypt Credit Card numbers? - We have now finally moved all our customers to SQL 2014 from old or very old SQL versions and I...
Recover data from encrypted log file - I have a 2008 R2 database encrypted using TDE that crashed. The MDF was lost, but the LDF survived. I was...
Column Length - Dear All, Question regarding the length of a column . As its understandable it has to be in accordance with the data...
Occasional mysterious time outs on SQL Server db table - Hi there, We have users in the field who use a mobile web GIS application (using Java) which use forms to edit/update spatial...
Concatenate sp_MSForeachdb results - How can I join all the results of the below query into a single result set? Thanks exec master..sp_MSForeachdb ' SELECT dbschemas.,db_name(), dbtables. , dbindexes. , indexstats.avg_fragmentation_in_percent, indexstats.page_count FROM...
Replication job error once server rebootes - Hello I am facing an issue after rebooting the replication server while executing the job of replication i.e Started: 10:23:00 AM Error: 2017-09-25...
IIF with an OR statement getting #Error - Hello all, I for the life of me cannot figure out why this would receive a #Error when running the...
Add 3 blank rows/boxes based on first letter of last name - Hello, I'm new to this forum and it seems awesome, so here's my first post/topic to test the waters. ;-) I’m working...
Multiple Calendars Using Kimball Outrigger Technique - Has anyone successfully used Kimball's outrigger technique for multiple corporate calendars in SSAS? If so, can you share the technical...