Viewing 15 posts - 181 through 195 (of 395 total)
CREATE PROCEDURE usp_DropColumn
@TableName Varchar(50),
@ColumnName Varchar(50)
AS
/*====================================================================================================
NAME: usp_Dropcolumn CREATED BY: SD
TYPE: stored procedure (SQL 7) CREATION DATE: 08/01/01
USAGE:
DECLARE @TableName Varchar(50)
DECLARE @ColumnName Varchar(50)
SET @TableName = 'MyTable'
SET @ColumnName = 'MyColumn'
Exec usp_DropColumn @TableName, @ColumnName
PURPOSE : To Drop a Column from a Table...
February 28, 2005 at 10:35 pm
If u go to the server settings of the propeties dialog,
there is some settings calles Server Behavior
Can we change those from a script
!
February 27, 2005 at 8:39 pm
If I got your problem correctly,
u can use Like command
i.e.
Where Course_ID Liek 'ISM%'
is this the answer you are looking for
February 26, 2005 at 6:16 am
refer this
http://www.sqlservercentral.com/columnists/dasanka/findminmaxvaluesinaset.asp
u can put rank + 600 ( I think , Sorry I could n't check)
February 26, 2005 at 6:13 am
SQl Server 200 does not have a unique record number like Oracle (I guess 
But U can wirte quiries to get the unique record number...
February 26, 2005 at 6:10 am
select sum (a) from (select sum(amount* -1) as a from TABLENAME where RecordType = 20 union all
select sum(amount) as a from table1 where RecordType <> 20) a
will give you the...
February 25, 2005 at 12:53 am
Very sorry for my porr english. I try to minize those in my next articles. Thank you very much for the comments. Its really helps me
February 25, 2005 at 12:42 am
In my case,
I have a application which has hard code the db name , so to test the new upgrades with the old db i need to have two instances
February 21, 2005 at 2:15 am
I had a practical some times back when I use insert command for datatime field. I got this problem when I am doing this korean charactors.
When this data time was...
February 21, 2005 at 12:07 am
If some thing can go wrong it will go wrong. that is a theory. therefore it will be very much advisable to stop every where error can occur
February 20, 2005 at 12:26 pm
for the public holidays, you need to keep them in a table. then you can modify the above function to work accordingly
February 20, 2005 at 11:59 am
Hope you all got the invitation. if not forgive me and send me a mail to my gmail id
February 20, 2005 at 11:57 am
Viewing 15 posts - 181 through 195 (of 395 total)