Profile
Achievement
 
    
                hoffstein's Recent Snippets
- All /
 « Prev 1 Next »
This assumes that you have sqlcmd (comes with SQL Server client tools) installed and wish to execute every file ending in .sql within the given directory against the specified server and database using Windows Authentication.
        
        
        
            2 
        
        
            1749 
        
                    posted 16 years ago by hoffstein
            Since network shares by default only get LocalIntranet permissions, it's relatively common to want to use CasPol to fully trust some shares that you control and know are safe.  
To trust everything on the share \\ShawnFa-Srv\Tools, use the command...
        
        
        
            2 
        
        
            1456 
        
                    posted 17 years ago by hoffstein