if exists (select * from sys.syslogins where Name = 'user1')
sp_droplogin 'user1' --(1)
CREATE LOGIN [user1] WITH PASSWORD= '', CHECK_EXPIRATION=OFF, CHECK_POLICY=OFF --(2)
When I press the execute button of SQL server management studio, I receive the error.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes. We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple. The final solution for this task involved creating a custom text parser and then reading…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables.
Make a table:
Update a specific column given a specific row using the UPDATE statement:
Remove a set of values using the DELETE s…