Viewing 15 posts - 6,676 through 6,690 (of 7,472 total)
If you 're still using the default modeldb, you can copy another model mdf and ldf file from an other server ( dev ? ) to the datafilelocations of your...
March 2, 2005 at 12:06 am
did your temdb-file(s) autogrow ?
If this autogrow takes more time and the query times-out, you also get the message db-full , but the grow...
March 2, 2005 at 12:00 am
did you stop and restart sqlagent after you implemented the first alert ?
You have to when you implement your first active alert.
March 1, 2005 at 12:16 am
This generates the script you need.
SET nocount on
create table #tmpPKeys(
TABLE_QUALIFIER sysname,
TABLE_OWNER sysname not null,
TABLE_NAME sysname not null,
COLUMN_NAME sysname not null,
KEY_SEQ smallint not null,
PK_NAME sysname null )
-- Get PK-info
insert into...
March 1, 2005 at 12:10 am
Is this what you want ?
It generates all needed statements without executing them !
-- creatie test case
if object_id('T_ParentMC') is null
begin
create table T_ParentMC (
col1 int identity(1,1) not null ,
col2 int not...
February 28, 2005 at 12:33 am
Best practise is to always specify a specific database in your connectionstring !
Rule No x : never rely on a @#|$! default !
If...
February 25, 2005 at 3:30 am
I/O wize perfer the 6*.... but also provide the chanels ! or you may encounter chanel-queues.
February 25, 2005 at 3:24 am
February 25, 2005 at 3:21 am
Nice lock-hints
what's
set @mothercared = (select top 1 pin from ...)
February 24, 2005 at 6:09 am
did you resinc the users ?
check sp_change_users_login in BOL !
this is what I use after restore :
Be carefull because it users systemobjects which way in not preferable !!
February 24, 2005 at 5:51 am
That is not what triggers are ment to do !
You can return the latest identity-value using SCOPE_IDENTITY ! Check BOL.
February 24, 2005 at 5:43 am
NET stop yourservice
NET start yourservice
will also you the trick if you're authorised.
p.s. even with msde you can make regular sql-backups,
so there...
February 24, 2005 at 5:35 am
select id
, case when isnull(ltrim(record1),'') = '' then 0 else 1 end
+ case when isnull(ltrim(record2),'') = '' then 0 else 1 end
+ case when isnull(ltrim(record3),'') = '' then...
February 21, 2005 at 2:21 am
If you are doing an index-review ...
run a trace that captures all sql and sp activity during a typical timeframe and have that analyzed by ITW, leaving it the option...
February 21, 2005 at 1:24 am
how about querying sysprotects ?
the errormessage is pointing to authorities granted by the user you want to be dropped.
select user_name(grantor), *
from sysprotects (nolock)
where grantor = USER_ID ( 'youruser' )
February 21, 2005 at 12:42 am
Viewing 15 posts - 6,676 through 6,690 (of 7,472 total)