Viewing 15 posts - 3,631 through 3,645 (of 13,882 total)
This is one way.
DROP TABLE IF EXISTS #SomeTable;
CREATE TABLE #SomeTable
(
Col1 VARCHAR(5)
,Col2 VARCHAR(5)
,Col3 VARCHAR(5)
,Col4 VARCHAR(5)
);
INSERT...
May 23, 2019 at 7:12 pm
I started watching a YouTube video on Azure DevOps. I can't have the sound turned up where I am, so I turned on subtitles. This is as far as I...
May 23, 2019 at 6:25 pm
Heh, Phil's name is not, nor ever has been, Sean!
And the query was deliberately written in that way, as the OP did not specify the need to see aggregated results...
May 23, 2019 at 5:58 pm
What makes you think that this is a memory leak?
May 23, 2019 at 3:59 pm
SELECT [13latam] = IIF(rc.TYear = 13 AND rc.Region = 'Latam', rc.RowCnt, NULL)
,[14latam] = IIF(rc.TYear = 14 AND rc.Region = 'Latam', rc.RowCnt,...
May 23, 2019 at 3:06 pm
Your answer is here.
May 22, 2019 at 9:34 pm
There's no way I know of doing this.
Your likely alternatives would appear to be
May 22, 2019 at 7:10 pm
Here's a quicker way. And are you sure you want to allow NULLs?
DROP TYPE IF EXISTS dbo.ColumnTableType;
CREATE TYPE dbo.ColumnTableType AS TABLE
(
Column NVARCHAR(MAX) NULL
);
May 22, 2019 at 4:04 pm
HI, and thanks for the reply. I do have a full version of VS, but am not familiar with how you do what you do in SSMS in there?...
May 22, 2019 at 2:08 pm
This might help: https://stackoverflow.com/questions/3560173/store-arabic-in-sql-database You have to change the collation for the various columns and use NVARCHAR() and NCHAR() because you need Unicode support.
There's only one column and it...
May 21, 2019 at 8:42 pm
Defining the column as NVARCHAR(MAX) would be a safer option. I'm sure that you'll need Unicode support for some of the characters in those languages.
--Edit: you should also probably read...
May 21, 2019 at 7:37 pm
There is no fast way of doing this. As Eric mentioned, DOCX files are zipped XML files.
Searching through them would involve unzipping them first.
May 21, 2019 at 4:43 pm
So you want to search the text embedded inside a DOCX file that has been stored inside a VARBINARY column, is that right?
So, notionally, like this?
SELECT cols...
May 21, 2019 at 3:06 pm
Once the varbinary data has been SELECTed, what do you want to happen to it next.
Using poorly defined terms like 'read' and 'extract' does not make it clear exactly what...
May 21, 2019 at 2:53 pm
What do you wish to read it with, or how do you wish to process it?
May 20, 2019 at 5:37 pm
Viewing 15 posts - 3,631 through 3,645 (of 13,882 total)