Viewing 6 posts - 1 through 6 (of 6 total)
hi
try the following script
regards,
Kabelo
CREATE TABLE #Fruits(FruitID INT,FruitName VARCHAR(10))
INSERT INTO #Fruits
VALUES('1001','Apple')
INSERT INTO #Fruits
VALUES('1002','Orange')
INSERT INTO #Fruits
VALUES('1003','Mango')
INSERT INTO #Fruits
VALUES('1004','Banana')
INSERT INTO #Fruits
VALUES('1005','Grape')
--SELECT *FROM #Fruits
DECLARE @FruitNames VARCHAR(8000)
SELECT @FruitNames = COALESCE(@FruitNames + ', ', '')...
October 20, 2011 at 9:13 am
Hi
since you're only expecting one record with two fields from the first file, you can create two variables and assign those fields to the variables and then pull data from...
October 20, 2011 at 8:44 am
yes,
I want to create a job that creates the scripts on a daily basis and no the jobs do not change frequently
October 18, 2011 at 10:00 am
I wanted a way to do that automatically
October 18, 2011 at 9:16 am
your assumption is correct, instead executing
alter database model
modify file (name = 'modeldev', filename = 'E:\MSSQL\DATA\mode.mdf')
I executed
alter database model
modify file (name = 'modeldev', filename = 'E:\MSSQL\DATA\')
June 14, 2011 at 1:02 pm
Viewing 6 posts - 1 through 6 (of 6 total)