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 |  
                                    | pazzy11Posting Yak  Master
 
 
                                        145 Posts | 
                                            
                                            |  Posted - 2008-04-22 : 12:04:37 
 |  
                                            | Hi , is there a way of setting collation to a particular typeduring a SPs run time only ? or can i only do this for temp tables ? |  |  
                                    | nrSQLTeam MVY
 
 
                                    12543 Posts | 
                                        
                                          |  Posted - 2008-04-22 : 12:56:52 
 |  
                                          | A lot of statements will take the collate keyword to use that collation for compares.You can specify the collation for a column when it's created.You can't force an SP to run under a different collation.It can cause a lot of problems if you are trying to work in a collation different from the system dtabases.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |  
                                          |  |  |  
                                |  |  |  |