x
login about faq Site discussion (meta-askssc)

syntax error while creating partition function

im creating partition function as,

CREATE PARTITION FUNCTION cct_part_emid(INT) 
AS RANGE LEFT FOR VALUES(10000,50000)

im getting error while executing the above query as

Msg 170, Level 15, State 1, Line 2
Line 2: Incorrect syntax near 'PARTITION'.

anything wrong with my syntax? im working with SQL server developer edition(8.00.194)

more ▼

asked Mar 18 '10 at 02:38 PM in Default

venkatreddy gravatar image

venkatreddy
562 26 28 32

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

That's SQL Server 2000. It doesn't support partitioning. You'll need to get a newer version of SQL Server. I'd recommend SQL Server 2008. Partitioning started in SQL Server 2005, but 2008 added some great functionality.

more ▼

answered Mar 18 '10 at 02:47 PM

Grant Fritchey gravatar image

Grant Fritchey ♦♦
62.3k 12 20 66

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x913
x46

asked: Mar 18 '10 at 02:38 PM

Seen: 1243 times

Last Updated: Mar 19 '10 at 12:23 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.