Viewing 15 posts - 586 through 600 (of 747 total)
Should your example case statement end in ELSE 3ltrcode END instead of ELSE END? I assume you actually want to join on a3ltr code except for these/similar translations.
Comments is dependent...
November 5, 2021 at 2:34 pm
a) Putting T-SQL code in a code block
b) Providing data in a consumable format (which can be pasted into SSMS)
This just means (again using code sample control)...
November 3, 2021 at 6:39 pm
It sounds like you might be looking for Reporting Services data processing extensions, if you're trying to mediate/alter the source data outside of SQL Server or other RDBMS.
November 3, 2021 at 4:05 pm
The missing index recommendation looks pretty good in this case -- you have a table scan because you are joining on PartLevel, but have no index.
Thank you for providing DDL...
November 3, 2021 at 1:16 pm
I'd love to see a generic framework/example for this, even if the OP has left the building.
I know your preference for datetime over datetime2, but would also be interested in...
November 2, 2021 at 8:20 pm
Not automatically. You could view object details right click to generate alter scripts (or create & then replace "CREATE VIEW" with "ALTER VIEW"), and then just do find-and-replace.
Easy if everything...
November 2, 2021 at 6:13 pm
One would hope response time wouldn't change... though I've seen companies where even that might not be true.
I could see resolution time changing (e.g., help desk declares it resolved, user...
November 1, 2021 at 2:46 pm
Yes. MS SQL Server uses identity, not auto_increment, which appears to be a mysql construct.
In MSSQL, I tend to prefer using sequence over identity (which now actually uses sequence...
October 29, 2021 at 4:39 pm
Do/can your last names include any hyphenated names? Do you have any cases where you also have middle names (or two part last names with spaces)?
If not, CHARINDEX & SUBSTRING...
October 29, 2021 at 3:38 pm
You indicated you split a table into two tables, but showed the DDL for only one table. Is this the before or after? If after, what's the second table?
What are...
October 29, 2021 at 2:48 pm
Every CPU these days is multi-core. Obviously, faster clock speeds is generally better than slower for similar core counts. Look at https://www.cpubenchmark.net/ for CPU ratings & comparisons, including performance/price ratios.
Glen...
October 27, 2021 at 8:54 pm
What do you mean by "re-allocate the files"? Changing the name?
You haven't shown the other pages. Did you change the Database name on the first (General) page? That is what...
October 27, 2021 at 1:10 pm
Yes it's possible. You can see if this thread helps.
For the purposes of the .Net tutorial, it seems like authentication type should be irrelevant.
October 11, 2021 at 7:33 pm
I agree w/ Mr. Gale that using prefix "vw" for views and "trg" for triggers is a good, common, reasonable exception to the "don't prefix w/ object type" rule. And...
October 8, 2021 at 9:33 pm
Viewing 15 posts - 586 through 600 (of 747 total)