Viewing 15 posts - 331 through 345 (of 1,219 total)
That error may be due to that the database has been restored from a different server and there is a mismatch between dbo in the database and the database owner...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
March 8, 2017 at 5:45 am
syslogins or sysusers? That is, server logins or database users?
As John says, you should be using sys.xxxxx_principals, but whether that is database_principals or server_principals depends on wherther you...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
March 8, 2017 at 5:06 am
I can confirm what John says about the password. On SQL 2000, passwords were case-insensitive, if the server collation was case-insensitive. This was changed in SQL 2005.
If...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
February 15, 2017 at 9:46 am
Yes, for views database chaining are the only option. However, if you want the interface of a view, you could use a multi-statement function and wrap a view around it.
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 19, 2016 at 11:17 am
The alternatives without moving data are:
1) EXECUTE AS + TRUSTWORTHY. OK, *if* ExternalGroupDb is owned by an SQL login that has no permissions granted, except one: AUTHENTICATE in the other...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 19, 2016 at 9:45 am
I think I need to abstain from answering on what you should do. There is just too little I know about your situation.
I can add two tidbits though:
1) I would...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 4, 2016 at 3:36 am
If you only want to drop the *login* which is on server level, there is no issue with the schema.
However, if you also want to drop the database *user*, then...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
December 1, 2016 at 4:20 am
The policy for the password is taken from Windows. The common rule in Windows that there must be characters from three of the four groups uppercase, lowercase, digits and punctuation,...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
November 1, 2016 at 11:10 am
I don't know exactly what you mean with "see", but you mean what you see when you expand nodes in SSMS, please attempt to run queries from a query window...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
September 15, 2016 at 9:42 am
Enabling DB chaining for the two databases is probably the simple way out.
However, beware that if one user is db_owner in one database and plain user in the other, this...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 26, 2016 at 3:16 pm
Membership in sysadmin implies that all permissions checks are voided. So that DENY has absolutely no effect. At all.
Had you only granted them CONTROL SERVER, I believe that DENY would...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 14, 2016 at 4:12 pm
How is the symmetric key protected on the publisher? If you supplied a KEY_SOURCE on the publisher, I guess you need it at the subscriber too. If you encrypted the...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
July 1, 2016 at 3:07 pm
The issue with case-sensitivity and not being able to do range queries always applies if you encrypt data on cell level, no matter how you do it.
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
June 14, 2016 at 1:50 pm
Smendle,
TLS is for securing the communication channel, so that no one can eavesdrop on the conversation with a network listener. But it does not encrypt any data in the...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
June 14, 2016 at 6:39 am
The solution you have currently encrypts/decrypts server side - obviously. SQL Server functions do not run on the client.
If you want to encrypt client side and stay on SQL 2008...
[font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]
June 8, 2016 at 1:11 am
Viewing 15 posts - 331 through 345 (of 1,219 total)