Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        | 
                
                    | 
                            
                                | Author | Topic |  
                                    | estheraMaster Smack Fu Yak Hacker
 
 
                                        1410 Posts |  |  
                                    | russellPyro-ma-ni-yak
 
 
                                    5072 Posts | 
                                        
                                          |  Posted - 2013-04-05 : 10:15:07 
 |  
                                          | Giving Tara's script a quick once over, I'd say modify this line:IF @version NOT IN ('8', '9')toIF @version NOT IN ('8', '9', '10')then go find all the IF blocks and add '10' to everything that says '9', for example, this lineELSE IF @edition = 3 AND @version = '9'becomesELSE IF @edition = 3 AND @version in ('9', '10')That's just with a quick glance, so it may ot be complete, but pretty sure that'll work. |  
                                          |  |  |  
                                    | russellPyro-ma-ni-yak
 
 
                                    5072 Posts | 
                                        
                                          |  Posted - 2013-04-05 : 10:18:24 
 |  
                                          | Actually, that would be 11, not 10.And change this:SET @version = CONVERT(char(1), SERVERPROPERTY('ProductVersion'))To thisSET @version = CONVERT(varchar(2), SERVERPROPERTY('ProductVersion'))Might be more but that looks about right |  
                                          |  |  |  
                                |  |  |  |