Viewing 15 posts - 6,496 through 6,510 (of 7,467 total)
so you could get this :
create proc spc_xxx
as
begin
set nocount on
-- first table is CUSTOMER table that have 2 field (id_cust,id_support)
-- second table is SUPPORT table that have 3 field (id_support,...
September 13, 2005 at 5:14 am
is this what you are looking for ?
update Customer
set id_support = S.id_support
from Customer C
inner join (
Select id_cust, count(*) as counter
from rc_sortir_intag
group by id_cust) CC
on C.id_cust = CC.id_cust
inner join Support...
September 13, 2005 at 5:10 am
May I emphasize BP id_columns should not be used but for PK/FK perposes, so a count(*) for id_columns should only determine the number of usage, but nothing else ?!
September 13, 2005 at 1:40 am
with int datatype you don't have decimals
you could do
select convert(decimal(11,3),yourIntCol) / 100 as youDecCol
(adjust...
September 13, 2005 at 1:03 am
There has been a bug in sql7 where this osql using sa was a workaround.
now I'm out of ammo
September 13, 2005 at 12:00 am
May seem a bit strange, but what happens if you make a sqlagent-job and have it execute the sp/dbcc using OSQL with sa-login ?
e.g.
osql -Usa -Pdontleaveitblank -S yourserver -d master -Q...
September 12, 2005 at 12:19 am
Using EM you can't view all jobs, unless you are sa
Maybe this proc can help out using QA :
Use master
go
if exists (select * from dbo.sysobjects...
September 9, 2005 at 12:39 am
differential backups are not incremental, they each contain all differences since the last full backup.
If you want to use incremental backups, activate full (or bulk logged) recovery model and use...
September 9, 2005 at 12:32 am
Using this sqlagent job, it works fine over here. This job is scheduled on all our servers one a week.
As you can see I encountered a problem using the...
September 9, 2005 at 12:17 am
September 5, 2005 at 7:58 am
May I add this has been a guideline for quite some time now :
August 26, 2005 at 1:10 am
Keep in mind NOT to have your website run with sa-privilages !
but you'll need security-admin privileges
Keep in mind, one should prefer "least authorities" above "all privileges"
August 26, 2005 at 1:00 am
That's how it works for me
All my sql7 and sql2k servers have these parameters.
I did forget to mention -T3605 makes sqlserver write this...
August 26, 2005 at 12:38 am
if you want deadlock-explanation (involved spids and statements) add these parameters to your sqlserver startup parameters :
-T1204
and
-T3605
August 26, 2005 at 12:19 am
Viewing 15 posts - 6,496 through 6,510 (of 7,467 total)