Viewing 15 posts - 1,111 through 1,125 (of 2,356 total)
No, you need a CASE statement
CASE WHEN SomeColumn = YourValue
THEN SomeValue
ELSE SomeOtherValue
END
July 2, 2019 at 8:08 pm
Nope. You have not specified anything in the command to actually grant execute permissions on. But, it will complete without error. This is the books online entry:
July 2, 2019 at 7:59 pm
Hmmmm. I have GRANT EXECUTE TO myuser, so I'm assuming that gives myuser rights to execute any sproc in the database and thus allows rights to use OBJECT_ID and...
July 2, 2019 at 7:01 pm
Both of these are available to any user, as long as they have a valid login, and that they have ANY permissions to the objects being referenced by OBJECT_ID or...
July 2, 2019 at 4:44 pm
It's certainly possible, but why wouldn't you add a third node in the DR site, and set it up as async?
There are things to consider when setting up the listener...
July 2, 2019 at 2:30 pm
There is no recommended size for a backup drive.
In basic tests, performing backups on databases ranging in size from a few GB to hundreds of GB's in size, there was...
July 1, 2019 at 5:05 pm
Are you actually storing SSN's in clear text?
How can you be sure that the left most characters are the correct characters?
July 1, 2019 at 4:44 pm
What a day, one could not make it up! My best friend taken to a hospital (second time in two days) after collapsing going flat on the ground, no...
June 28, 2019 at 2:26 am
Oh boy. We have a reporting group that has jumped into PowerBI in a big way. Most of the data on the dashboards is refreshed from a semi-data warehouse. But...
June 25, 2019 at 8:22 pm
Here's a question. Why is this a problem?
If the primary key is clustered, it IS the table.
This may be normal. If you could provide the DDL so we can see...
June 25, 2019 at 8:14 pm
John is correct. They are two different things.
DBCC CHECKDB, depending upon the parameters passed into it, only checks for corruption within the database.
RESTORE VERIFYONLY only checks to see if the...
June 24, 2019 at 3:15 pm
If you can't find it in this collection of great PowerShell scripts, then maybe it can't be done!
June 24, 2019 at 3:11 pm
Gee, I was able to take the code example provided by Fredrico, and with a little trial and error because I am not that great with Power Shell, get it...
June 19, 2019 at 4:58 pm
Do you have a copy of Access? You may need to use Access, pull it from FoxPro into that, and then import the Access database.
Beware of the numbers being changed. ...
June 14, 2019 at 2:48 pm
It was the same behavior running it in Visual Studio or deployed to the server as a package.
Permissions are correct, it wouldn't have been able to do other things if...
June 12, 2019 at 1:43 pm
Viewing 15 posts - 1,111 through 1,125 (of 2,356 total)