Viewing 15 posts - 46 through 60 (of 283 total)
Double-click on the report in the Solution Explorer to open it. Click on one of the report objects in the Design tab, go to View - Report Data; the...
December 18, 2013 at 10:59 am
Does the following query show it's being backed up?
select bs.database_name, bs.backup_start_date, bs.description, bmf.physical_device_name
from msdb.dbo.backupset bs
join msdb.dbo.backupmediafamily bmf
on ...
December 18, 2013 at 10:41 am
One way to see the deadlocks in action is to run profiler against the database with the Deadlock graph, Lock:Deadlock Chain and Lock:Deadlock events selected. SQL Server will roll...
December 18, 2013 at 10:27 am
Might be easier to use Powershell. Create a database with a table containing all the database instance names that you want to connect to, use Powershell to...
December 17, 2013 at 8:00 am
If it's a huge database then the advantage may be that you save time as you just need to copy the data and log files rather than backing up, copying...
December 3, 2013 at 10:52 am
I had a similar issue on SQL 2008 R2 just recently when we lost the tempdb disk (well, actually, the drive letter changed). In our config we have 8...
November 26, 2013 at 4:33 am
In example 1, The principle server goes down and you have no witness so the mirrored databases remain in a restoring state. They can be put online if you...
July 9, 2013 at 12:54 pm
Can you show us the query you are running - is it using openquery?
June 26, 2013 at 11:21 pm
Are you saying that you have SQL server database instances on a cluster and a particular application that uses them only works when it's database instance is running on one...
June 26, 2013 at 3:40 pm
You could generate the detach statements via a query such as the following:
select 'EXEC sp_detach_db ' + '''' + name + ''''
from sys.databases
where name like '%dbname%'
The sp_attach_db statements (or create...
June 26, 2013 at 3:20 pm
Is the report set up to connect to the database with the credentials of the user that is running the report? Looks like it's a 'double-hop' issue where the...
June 20, 2013 at 4:06 pm
There are a number of ways of doing this sort of thing. An example is below
[font="Courier New"]
declare @string varchar(11)
set @string='reg0000000'
declare @input varchar(7)
set @input='123'
declare @output varchar(11)
set @output=left(@string,len(@string)-len(@input))+@input
print @output
[/font]
This performs string...
January 12, 2012 at 6:43 am
If I understand the question correctly, you want to group on a column that has been defined with a case statement.
So you can do the following to add a group...
July 5, 2011 at 5:06 am
The accounts used for the SQL services should only be changed via the SQL Configuration Manager. While changing them via the Windows services may work, it is not recommended...
June 16, 2011 at 6:04 am
Sounds like you have Analysis Services at 2008 RTM (1600) and SQL Server at SP1 (2531).
You can bring them in line by running the Service Pack 1 installation...
June 13, 2011 at 5:58 am
Viewing 15 posts - 46 through 60 (of 283 total)