Viewing 15 posts - 46 through 60 (of 83 total)
I just asked if anyone has any idea of those terms
Anyways thanks
December 7, 2009 at 1:39 pm
So i have to alter table first
like ALTER TABLE table_name ADD column_name datatype
Later should i drop the view and create a new view to add that additional column?
December 7, 2009 at 12:20 pm
Thanks for the reply.
But is there a command like ALTER VIEW view_name ADD column_name datatype
December 7, 2009 at 10:48 am
thats fine
Thank you very much
December 3, 2009 at 2:24 pm
Even though there is char(10)+char(13) in select statement, i am getting output i one line
May i know the reason
December 3, 2009 at 1:53 pm
GilaMonster (12/2/2009)
rahulsony111 (12/2/2009)
will the select statement selects the tablenew1?
like 'select altertable tablenew1 alter column column'
And will...
December 2, 2009 at 1:10 pm
In the code you gave above, in the select statement
select @sql = @sql + char(10) + char(13) + 'alter table ' + sysusers.name + '.' +...
December 2, 2009 at 11:14 am
Thanks for all the suggestions and code
I appreciate your help very much
Seth if it is possible can you explain me in detail what is the code doing. Is that taking...
December 2, 2009 at 7:18 am
Hi seth, how are you man?
Yes i am sure this time
i have to write a stored procedure so that it can change column datatypes which is char to nchar and...
December 1, 2009 at 4:25 pm
GilaMonster (12/1/2009)
December 1, 2009 at 2:50 pm
Should the code look like this if i write in a stored procedure
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE sp_covertdatatype
@tablename
AS
BEGIN
select 'alter table ' + sysusers.name + '.' + tables.name
+...
December 1, 2009 at 2:03 pm
The code is working. You are awesome
But i need a stored procedure for this.
I think the code you gave is a one-time process
The problem is that i have do...
December 1, 2009 at 1:38 pm
GSquared (12/1/2009)
declare Cmd cursor local fast_forward...
December 1, 2009 at 1:08 pm
Viewing 15 posts - 46 through 60 (of 83 total)