Viewing 15 posts - 691 through 705 (of 747 total)
FULLTEXT indexing/search: https://docs.microsoft.com/en-us/sql/t-sql/queries/contains-transact-sql?view=sql-server-ver15
January 15, 2021 at 3:19 pm
Is performance bad merely because of the # of users, or because of the volume of data returned by a lot of users? You probably want to look at indexing...
January 15, 2021 at 3:16 pm
What data type is myColumn? What data type is the expression returned if myColumn is not null?
In this example, NULL resolves as an int if it's the only value:
January 13, 2021 at 2:39 pm
When you say interview...
Probation? Exit?
Or actual meaningful dialog?
January 11, 2021 at 10:24 pm
The issue here, as is often the case in development/deployment, seems not to be software/security, but process -- in particular a human step in the process. In this case, a...
January 11, 2021 at 2:47 pm
bcp utility: out is used for table or view source. queryout is required for query (e.g., stored procedure) source.
What does "7786" represent? If it's a parameter of the stored procedure,...
January 4, 2021 at 8:51 pm
Something like this:
DROP TABLE IF EXISTS #xp_results;
CREATE TABLE #xp_results
(
...
December 28, 2020 at 9:56 pm
Can you change the data model? A more EAV-like data model might be more appropriate in this case -- e.g.,
CREATE TABLE [dbo].[StatsDefinitions]
...
December 21, 2020 at 6:19 pm
I don't know of a built-in way, nor an addin, that supports that. Seems like a useful option.
Here's an azure feedback suggestion you can vote on: https://feedback.azure.com/forums/908035-sql-server/suggestions/42237427-add-parameters-and-variables-to-configurable-fonts
December 17, 2020 at 4:50 pm
GROUP_ID is a complex element composed of attributes. Value is an attribute of GROUP_ID, not an element.
Try this:
select
pt.id,
x.y.value('@Value','int') AS...
December 16, 2020 at 9:20 pm
The following seems to work. Add TRIM() if desired fix space before comma.
DROP TABLE IF EXISTS #attributes
CREATE TABLE #attributes
(
Attributes...
December 16, 2020 at 9:04 pm
I'm guessing it didn't.... You still aren't returning CALL_TIME in the subquery, but are trying to reference it in the pivot.
I believe that in your select, you would need to return...
December 14, 2020 at 9:43 pm
Your subquery is not returning TraceyHarley5, RhonaCornwall5 , or CALL_TIME, so the select, function, & PIVOT have no reference to those columns. And the only columns in your subquery --...
December 14, 2020 at 5:58 pm
Sample data that is failing? It sounds like perhaps you have a @TimeFormatted value that is only 1 character.
DECLARE @TimeFormatted varchar(max) = '2'
SELECT RIGHT(@TimeFormatted,LEN(@TimeFormatted)-2);
Do you really have...
December 4, 2020 at 3:29 pm
Viewing 15 posts - 691 through 705 (of 747 total)