Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)

  • RE: Adding hebrew or arabic in the same column as enlgish.

    Does it have to be pasted in an entire string, or can it be constructed? Something like:

    DECLARE @Text nvarchar(255)

    SET @Text = N'???????? ?? ????? ????????, ??????? ??' + N'...

  • RE: Take Care of Yourself

    I suffer from chronic hip problems (definitely exacerbated by sitting continuously for more hours that I should) - that in turn lead to back & neck problems. So long...

  • RE: Indexes & statistics interactions

    This system doesn't have many ad-hoc queries, reporting is a minor aspect of the day-to-day use. What is there is actually highly consistent, does a lot of data manipulation...

  • RE: Indexes & statistics interactions

    "meaning that there is a benefit to adding it"

    Not really. SQL usually wants stats on anything that "might" have benefit. It wants the stats on the data distribution...

  • RE: Indexes & statistics interactions

    After doing more reading on selectivity, I think i understand more, but am still not entirely sure of how to address my third case.

    Since stats are used to calculate the...

  • RE: Using Group By with MAX

    There is probably a better way, but try something like this

    MAX(CASE WHEN fieldname = 0 THEN NULL ELSE fieldname END) - this will get you NULL if there were no...

  • RE: Using Group By with MAX

    If the rows without data are always 0, try using SUM

  • RE: Expressions based on data in the SELECT statement

    I may be missing something but sounds like you want to select the records where the Thing ID is the passed in value and (the CaptureID is 1 or the...

  • RE: How many rows in a recordset?

    For some objects, you have to use methods like a MoveLast before total counts are updated, after moving to the last record in the set a count properity is usually...

  • RE: PL/SQL

    The values for the rowcnt in sysindexes is not always accurate - you have to make sure that stats are up to date to use that value. I have...

  • RE: Retrieving text of erroring Dynamic SQL

    Thank you for the additional information, but I already have a very solid understanding of TRY-CATCH structures and really am not asking about employing them.

    What I am asking...

  • RE: Retrieving text of erroring Dynamic SQL

    I have read that. It is a bit different then what I am after. My focus is on being able to query to retrieve the text of the...

  • RE: Procedure Cache Hit Rate is Low - Need Advice

    Its not just procedure names that should be capitalized properly and prefaced with the owner/schema to optimize cached plan re-use. The tables referenced within the proc also should have...

  • RE: One DB per user, what do you think?

    Yes, it is possible to run and maintain hundreds of DBs on a server where all are used by the same application code - I have worked on a system...

  • RE: Database to support multilingual data

    You cannot store multi-byte data in single byte string data types. But you can store data for multiple languages that only require single byte data in one column. ...

Viewing 15 posts - 1 through 15 (of 15 total)