Viewing 15 posts - 1,261 through 1,275 (of 1,838 total)
Kimberly Tripp has an excellent article about dealing with this kind of problem here:
I have some third party software systems that needed this kind of cleanup to run periodically, and...
November 16, 2016 at 9:49 am
This is normal behavior, since database mail uses Service Broker, and queue, when you use sp_send_dbmail to send an e-mail, it gets put into a queue, which has an activation...
November 16, 2016 at 9:35 am
Clint-525719 (11/15/2016)
...Can an SSIS 2008 instance/package connect to a SQL 2016 database (or 2012 or 2014)?
I have a computer still running SSIS 2008 R2 that runs packages against a SQL...
November 15, 2016 at 1:48 pm
BLOB EATER (11/1/2016)
Oracle 8i CD which is pure trash and not even mine... how the heck did that get in there :unsure:
oh come on... you know you're curious 😉
I was...
November 15, 2016 at 10:42 am
Analysis Services permissions are separate from the SQL Server engine permissions. In Management Studio, make an Analysis Services connection (click on the Connect button dropdown in Object Explorer)
Once you're...
November 10, 2016 at 12:46 pm
almost forgot, to reassociate SQL Authenticated logins to their database users:
/* automate fix SQL auth logins */
DECLARE @login nvarchar(128), @sqlcmd nvarchar(1000);
DECLARE cur_fix CURSOR FAST_FORWARD FOR
SELECT name
...
November 10, 2016 at 12:21 pm
for the logins themselves, I've found this KB article still works (last did it in February this year to SQL Server 2014 server)
https://support.microsoft.com/en-us/kb/918992
I have another script I use to get...
November 10, 2016 at 12:17 pm
simplest way to write it is have a subquery to determine the count of appointments per client, then group again by that count:
CREATE TABLE #appt (ClientID int, AppointmentDate char(1))
INSERT INTO...
November 10, 2016 at 12:06 pm
the MDF and LDF files aren't the problem those are the physical names, the problem is that each file in SQL Server also has a logical name. These logical...
November 10, 2016 at 11:32 am
my initial guess is that the problem is in this part of your code:
SET @filename = @DBName
SET @Start = GETDATE()
SET @TSQL = 'ALTER DATABASE ['+@NewDBName+'] SET MULTI_USER WITH ROLLBACK IMMEDIATE;
RESTORE...
November 10, 2016 at 9:57 am
If this is a datamart, then how are they related in the source system? If they are related does the Forename and Surname need to be in both tables...
November 9, 2016 at 2:44 pm
hegdesuchi (11/9/2016)
...
If exists(select 1 from stg_table s
join table t
on s.id=t.id and t.seq=s.seq...
November 9, 2016 at 2:39 pm
duplicate posting... see:
http://www.sqlservercentral.com/Forums/Topic1833304-1351-1.aspx
November 9, 2016 at 12:42 pm
SteveD SQL (11/9/2016)
I figure there are 3 ways I can provide the database and basic data:
1. database to be attached
2. backup to be restored
3. provide scripts to create and populate...
November 9, 2016 at 9:58 am
kevin.obrien 66193 (11/9/2016)
I am building a DW which will load data from 2 separate sources.
Each source will populate the Broker Dim table and the Account Dim table.
To identify which source...
November 9, 2016 at 9:47 am
Viewing 15 posts - 1,261 through 1,275 (of 1,838 total)