Viewing 15 posts - 1,546 through 1,560 (of 3,011 total)
You seem to be under the impression that you can restore the full database and then restore a differential backup of the one filegroup for your critical data. That...
November 4, 2009 at 9:36 am
You should be more concerned by who is a member of the Administrators group than the access that the Administrators group has on the local machine.
The Administrators group has numerous...
November 2, 2009 at 9:50 pm
You can gain access to SQL Server 2005 by adding your Windows login to one of the following local groups on the server , depending on if it is default...
November 2, 2009 at 9:22 pm
This should be fairly easy to do in SQL, but you really haven't really explained the rules for when the manufacturing year and manufacturing month start, so we can't really...
November 2, 2009 at 2:00 pm
huston.dunlap (10/30/2009)
...Michael, I'm a bit confused on the code below, I'm not familiar with output statements...
What did you find when you looked it up in SQL Server 2005 Books Online?
October 30, 2009 at 5:55 pm
fuzzy528 (10/30/2009)
October 30, 2009 at 5:51 pm
declare @from_month int
declare @months int
select @from_month = 6, @months = 11
set nocount on
declare @t table (num int not null primary key clustered)
insert into @t
-- Just a quick and dirty number...
October 30, 2009 at 3:26 pm
Run this query to see the size of each database file, used space, and unused space.
select
[FileSizeMB]=
convert(numeric(10,2),round(a.size/128.,2)),
[UsedSpaceMB]=
convert(numeric(10,2),round(fileproperty( a.name,'SpaceUsed')/128.,2)) ,
[UnusedSpaceMB]=
convert(numeric(10,2),round((a.size-fileproperty( a.name,'SpaceUsed'))/128.,2)) ,
[DBFileName]= a.name
from
sysfiles a
Results:
FileSizeMB UsedSpaceMB UnusedSpaceMB DBFileName
------------ ------------ -------------...
October 30, 2009 at 3:07 pm
Do not store passwords in a table. Create hashes of the passwords and store the hash. That way, the password cannot be recovered from the value in the...
October 30, 2009 at 2:47 pm
Use an OUTPUT clause to return the rows that were updated, and add a WHERE clause to only update rows that should be changed:
DECLARE @Output_MyTable table
(
MyTablePKintprimary key clustered,
Before_FULLNAMEvarchar(50),
After_FULLNAMEvarchar(50)
)
UPDATE MyTable
SET
FULLNAME =...
October 30, 2009 at 12:46 pm
use master
alter database [MyDatabase] set offline with rollback immediate
alter database [MyDatabase] set online
October 30, 2009 at 8:51 am
They could have the camera there because they are annoyed by people dropping off their kids blocking traffic, blocking their driveway, denting their car, making noise, etc.
October 28, 2009 at 1:27 pm
Even if you have concerns, what can you really do about it?
Are there any laws that restrict where a security camera can be pointed when it is an outside area?
October 28, 2009 at 10:16 am
Gift Peddie (10/27/2009)
I have to agree with Microsoft because SSRS usually randomly reject normal T-SQL code and to resolve most problems it generally throws strange execution context errors which...
October 28, 2009 at 9:50 am
bump
October 27, 2009 at 10:15 am
Viewing 15 posts - 1,546 through 1,560 (of 3,011 total)