Viewing 15 posts - 1,171 through 1,185 (of 3,500 total)
You probably have to shrink it, but then you'll have to rebuild all the indexes... Good thing it's Friday... might be done by Monday.
November 30, 2018 at 2:10 pm
November 29, 2018 at 6:26 pm
November 26, 2018 at 9:04 pm
If you don't use a date in tabular model, you can't mark the column as a date, so you can't use a lot of the built in time intelligence functions......
November 25, 2018 at 9:49 am
November 24, 2018 at 2:30 pm
A cursor for that is all kinds of overkill. How about a simple not exists subquery?
SELECT *
FROM Employee e
WHERE NOT EXISTS (
SELECT s.EmployeeID
November 24, 2018 at 12:08 pm
(Wait, so you can update directly?)
Wouldn't you have to run this on each column?
UPDATE HumanResources.Employee SET EncryptedNationalIDNumber = EncryptByKey(Key_GUID('SSN_Key_01'), NationalIDNumber);
November 21, 2018 at 10:17 am
You mean by querying the sys.all_columns table and using dynamic SQL to automate it?
November 21, 2018 at 8:46 am
The belwo is my sample table structure and I will be buildinga sample website...
November 20, 2018 at 7:44 pm
Also, how do you fix a "slow database" when you don't know exactly what is slow? Do you have benchmarks? A list of the most used stored procedures?
November 20, 2018 at 4:51 pm
Of course, if you want to recover the records you deleted, and you're in Simple Recovery, you're out of luck. You'd have to restore an old copy of the database...
November 20, 2018 at 2:56 pm
???
Recovery models don't have anything to do with what SQL works in a database. That's controlled by the Compatibility Level the database is set to.
November 20, 2018 at 2:43 pm
A data warehouse is just another database with a star schema instead of a standard 3NF schema.
November 20, 2018 at 11:20 am
Viewing 15 posts - 1,171 through 1,185 (of 3,500 total)