Viewing 15 posts - 76 through 90 (of 1,838 total)
Ed Wagner wrote:Or stored procedures.
Crystal, powered by parameterised stored procedures. Very powerful 😉
You know why it's called Crystal right? ...
March 26, 2020 at 4:50 pm
As a former DBA and now Data Architect, the way I view this is that while the developers are writing the queries and code, the DBA should guide them in...
March 12, 2020 at 3:25 pm
Is there an index on AccountID and Date columns of dbo.BalanceTable?
Those conditions are in all your UPDATE statements, but the only index you've shown us is the Primary Key on...
March 10, 2020 at 7:39 pm
...I think the potential irony of the whole mess is that fewer people are flying, so the airlines aren't making as much money. After the fighting in both directions...
March 10, 2020 at 6:27 pm
This script will find users in a database that don't have an exact match for login based on SID, but I think it overstates the number of orphans because if...
March 10, 2020 at 6:17 pm
What context was NOT IN being used, with a list of values or with a subquery? Depending on the code you are looking at, maybe the NOT IN could be...
March 9, 2020 at 7:33 pm
It seems fairly straightforward, what part are you having problems with? If you're not sure what some of the datemath is doing, try some of it outside of this script...
March 9, 2020 at 7:20 pm
A simple but free tool is ApexSQL Model:
https://www.apexsql.com/sql-tools-model.aspx
I've used it here and there before, it can do reverse engineering of a model from an existing database, as well as...
March 9, 2020 at 6:38 pm
is there no way for you to simply do a database restore on the test database?
If you just want to reload one table instead of the entire database, I...
March 9, 2020 at 6:13 pm
Microsoft introduced the new Cardinality Estimator in the SQL Server engine in 2014. If the database was set to an older compatibility mode, it was still using the old cardinality...
March 6, 2020 at 9:15 pm
Also is there a connection between CPU pressure and Memory , say I notice constant High CPU- 90% on a sql server instance, and cannot add more CPU's will...
March 6, 2020 at 9:00 pm
Are there a lot of OS level page swaps happening? If not there may not be any problems. Here's an article about monitoring that:
Typically you want most of your...
March 6, 2020 at 7:06 pm
I think it might be tied to the Deployment Target Version. In the menu, select Project / Properties. Check the TargetServerVersion property, that relates to the script language used.
March 6, 2020 at 5:37 pm
If a deadlock occurs, a rollback happens like Mike says. If it is still rolling back, you won't be able to kill the rollback, you will just have to wait...
March 6, 2020 at 5:29 pm
I agree with other people's comments on encapsulation and security. Here are my additional comments on why I believe it's better to use stored procedures than code queries directly within...
March 6, 2020 at 4:45 pm
Viewing 15 posts - 76 through 90 (of 1,838 total)