Azure SQL Database V12 Change Collation -


i've tried alter data collation azure sql db v12 database command:

alter database aguia collate sql_latin1_general_cp1_ci_ai 

and receive follow message:

the database not exclusively locked perform operation.

if try run command, in order lock exclusively:

alter database aguia set single_user 

i receive message:

the operation cannot performed on database "aguia" because involved in database mirroring session or availability group. operations not allowed on database participating in database mirroring session or in availability group.

how can around?

regards, jp.

make sure in master database , run below query.further can see sessions accessing database below dmv.

alter database aguia collate sql_latin1_general_cp1_ci_ai  select * sys.sysprocesses dbid=db_id('your db name') 

Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -