alter table StokFiyat ADD CONSTRAINT DF_SatisKdv DEFAULT 0 FOR SatisKdv
alter table StokFiyat ADD CONSTRAINT DF_F4Kdv DEFAULT 'H' FOR F4Kdv
ALTER TABLE StokFiyat ADD CONSTRAINT CK_StokFiyat_F4Kdv check (F4Kdv='D' or F4Kdv='H') 


alter table ACARI ADD CONSTRAINT [ACARI_BORC_>0] check (BORC>=0)
GO
alter table ACARI ADD CONSTRAINT [ACARI_ALACAK_>0] check (ALACAK>=0)

--select * from sys.default_constraints on StokFiyat

select distinct F4Kdv ,F1Kdv from StokFiyat 
select * from sys.check_constraints
_constraints 
