Viewing 6 posts - 1 through 6 (of 6 total)
You Can Use Following , Use Following Sample Code
--Create Table PivotTable
Drop Table PivotTable
Create Table PivotTable(ProductName Varchar(100),MarketName Varchar(100),Price int)
Go
--insert Values Into Table
Insert Into PivotTable
Values
('Orange','Reliance Fresh',100),
('Mango','Big Bazar',120),
('Orange','Big Apple',30),
('Banana','CO-MART',150),
('Mango','CO-MART',75),
('Grape','Mandi',75)
Go
--Declaration Of Variable...
August 26, 2011 at 2:31 am
Yes, You Will Get This Error if You Try Access System Tables there are Round 58 System Tables (which you cannot access directly)
select * from sys.all_objects where type_desc='SYSTEM_TABLE'
You Need DAC(Dedicated...
August 26, 2011 at 12:49 am
1.) The Only Thing which is to be configured is Enable File Stream ( And You Have Done It Already). And you can configure Your Log Shipping.
2.) FileStream data will...
August 25, 2011 at 8:23 pm
Use Following
select CONVERT(datetime, '20101001', 112), CONVERT(datetime, '20101231', 112)
Or For Dynamic
exec ('select CONVERT(datetime, ''20101001'', 112), CONVERT(datetime, ''20101231'', 112)')
Thanks
Kuldeep
August 25, 2011 at 10:45 am
The Above looks to be Bit Difficult,
You Can Use Following Code To Update, Looks Messy But Should Help.
Declare @STR VArchar(Max)
SEt @STR=''
Select @STR=Case When
August 25, 2011 at 10:08 am
Scope Identity Returns Newly Inserted Identity Within the Current Scope : Current Scope Can Be A "Stored Procedure, Trigger, UDF"
If You Have A Nested Stored Procedure Then That Comes...
August 25, 2011 at 9:20 am
Viewing 6 posts - 1 through 6 (of 6 total)