Viewing 15 posts - 361 through 375 (of 748 total)
MSOLEDBSQL is the recommended provider. SQL Server Native Client is deprecated, apparently since 2014.
Microsoft has been vacillating on data provider recommendations since at least the introduction of .NET.
SQL Server...
June 24, 2022 at 4:25 pm
That doesn't look like SQL Server error message or syntax. What database system are you using?
(Always best to identify the system when you're posting a question that might require that...
June 24, 2022 at 2:09 pm
In windows, you'd use ODBC Data Sources or ODBC Administrator (32 bit or 64 bit).
System ODBC data sources are stored in HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC. INI .
User ODBC data sources are stored in HKEY_CURRENT_USER\Software\ODBC\ODBC
File DSN data...
June 24, 2022 at 1:46 pm
The conceptual model is too high level for data dictionary -- it's just a definition of entities. You'll often find that evaluating attributes sometimes leads to a better understanding of...
June 23, 2022 at 2:06 pm
"You may find, for example, that many users require detailed information to perform their work, whereas others need only summary information to help them make strategic decisions for the organisation....
June 23, 2022 at 1:59 pm
"5. Determine and define business rules. You conduct interviews with users and management to identify constraints that must be imposed upon the data in the database. The manner in which...
June 23, 2022 at 1:47 pm
ratbak wrote:Why are you using both Ticket ID & Ticket Number as primary key for both Ticket & Response, and as the foreign key between the two?
The idea is that they...
June 21, 2022 at 10:11 pm
If you mean don't show what is in the temp table, then just don't select from the temp table.
If you mean something else, please explain..
June 21, 2022 at 9:02 pm
What is Ticket ID, and why is it a tinyint? The name implies it's a unique ID. A tinyint would only allow 256 tickets (0-255). If it's a type or...
June 21, 2022 at 3:21 pm
Do you mean that with dynamic SQL it is somehow possible to do FOREACH or write less code?
Dynamic SQL could achieve the "writing less code" goal using something like this:
June 20, 2022 at 5:07 pm
No, SQL Server doesn't let you pass tables or columns as parameters. You could derive something like this using dynamic SQL.
But I might also we concerned about protentional blocking when...
June 20, 2022 at 1:32 pm
You have no indexes, so you are forcing the query engine to scan the entire tables.
Yes, not equals/not in/not exists can be less efficient than equals/in/exists, but with proper indexing...
June 17, 2022 at 7:05 pm
One True Lookup Table:
In addition to other concerns, to me, I tend to view lookup tables themselves as an entity. If they contain unrelated "things", they are not normalized. And...
June 17, 2022 at 6:41 pm
You would have to use a user-defined function to reference columns in other tables (which could have performance impacts).
Your table design may be wrong if you have a column value...
June 17, 2022 at 3:53 pm
Hosts file alias?
SQL Native client alias?
CNAME or AD computer name alias?
June 16, 2022 at 9:36 pm
Viewing 15 posts - 361 through 375 (of 748 total)