How many defaults can be placed on one column of a able.If this col had an existing default, what will happen if one more is added?
A column name is given to you. You have to find out which table has that column. Database has 230 tables. For example: empid (column name) For this how do you find out which table has the column (empid) ?
How to find out the maximum sales of an item for each sales man.The table consists sales_man, item, sales columns, each sales man will have the different sales values for different items.here I have to find out for every sales man, which item he sold maximum
Latest Answer : declare @var intselect @var = 1update set @var = @var*< colname >select @var ...
How we can add a NotNull Column in a table by using alter command (without using default command)?
Latest Answer : First add the column as NULL. Then populate the column with non-null data. Then modify the column to NOT NULL. You may need to set dboption "select into" to True. ...