June 7, 2010 at 3:50 am
Hi,
pls help me out for this
use master
go
create database testdb
on primary
(name=test_part1, filename='c:\partitionpractice\test_part1.mdf',size=4mb,maxsize=100,filegrowth=1),
filegroup testdb_part2
(name=testdb_part2,filename='c:\partitionpractice\testdb_part2.mdf',size=2mb,maxsize=100,filegrowth=1)
go
use Northwind
create partition function partfunc1 (int)
as
range left
for values(10)
use Northwind
create partition scheme mypartschm
as partition partfunc
to ([primary],[testdb_part2])
after running the partition schema m getting error AS
Invalid object name 'testdb_part2'.
pleas folowup m for...............................
June 7, 2010 at 6:19 am
To ensure that file group is exist or not , Right click on the database-->properties --> file group
check whether the file group testdb_part2 is exist...
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply