Viewing 15 posts - 1,111 through 1,125 (of 1,366 total)
what is the status of your database?
check the status using sp_helpdb
April 22, 2009 at 5:39 am
Have you configured any high availability options?
April 22, 2009 at 5:34 am
Hi Ritesh,
Collation can be set only during installation..u can change that during installation...
If u have already installed u need to uninstall and reinstall the server.
April 22, 2009 at 3:36 am
Thanks Florian for the Tips,
Actually created this as an experiment. I want to convert this to DB2 which i dont know..Do you have any idea? I will be very thankful...
March 26, 2009 at 7:40 am
ALTER procedure [dbo].[rkn_pk]
@tabname char(50),
@colname char(50)
as
begin
declare @sql as varchar(500)
select @sql='alter table '+ RTRIM(@tabname) +' add constraint '+ RTRIM(@tabname)+'_pk1' + ' primary key'+ '('+RTRIM(@colname)+')'
execute (@sql)
end
EXEC [rkn_pk] 'RKN','NO'
March 26, 2009 at 1:51 am
Created this but getting error while executing as the constraint name is creating lot of space
alter procedure rkn_pk
@tabname char(50),
@colname char(50)
as
begin
declare @sql as varchar(500)
select @sql='alter table '+ @tabname +'add...
March 25, 2009 at 1:30 am
Thanks Grant.
My idea was to create a procedure like
create procedure rkn_pk
declare @tabname char(50)
declare @colname char(50)
as
alter table @tabname add constraint @tabname+pk primary key on @colname
Is that possible.
TIA
March 24, 2009 at 10:32 pm
You can use Import Export Wizard but that wont create the constraints.
For that you have to script out the constraint and ran the same on the destination.
March 17, 2009 at 7:14 am
I just tried to shrink the tempdb issued the DBCC SHRINK command after that...
Anyway thanks for the information 🙂
March 17, 2009 at 6:59 am
Viewing 15 posts - 1,111 through 1,125 (of 1,366 total)