Viewing 15 posts - 46 through 60 (of 2,006 total)
Paul Hernández (4/22/2015)
I would like to take some time to dig deeper on this and summarize all the information.
Thanks all of you for the...
April 22, 2015 at 7:24 am
Louis Hillebrand (4/22/2015)
In Unicode there are more Space-Characters than ASCII(32)You can use UNICODE(Char) to get the Unicode value for the space-character.
I wasn't aware of UNICODE as a function, but it...
April 22, 2015 at 6:58 am
All I can think is that you have invisible characters. . .:ermm:
Mind trying to see what all of the character codes of the string are?
WITH CTE (...
April 22, 2015 at 4:48 am
Paul Hernández (4/22/2015)
Please forget my first post, I copied and pasted the query that SSAS issues, therefore contains this weird aliasing.
Here is a better...
April 22, 2015 at 2:47 am
Paul Hernández (4/21/2015)
your script is the best explanation I have ever seen for the ASCII characters an trimming functions. But that is exactly my problem, that the last position...
April 21, 2015 at 9:02 am
SELECT subQuery.N + '|',
subQuery.X + '|',
CASE WHEN CAST(ASCII(SUBSTRING(REVERSE(subQuery.N), 1, 1)) AS VARCHAR(3)) =...
April 21, 2015 at 8:49 am
I'd guess that you don't have a "Mr", "Ms", "Dr" in the column, instead it probably has white space. Also, if the column doesn't equal one of those options...
April 15, 2015 at 9:30 am
SELECT '5' AS 'value/@version',
'database' AS 'value/@type',
'master' AS 'value/name',
...
April 15, 2015 at 7:42 am
Weird.
If you make it "FORWARD_ONLY" and "READ_ONLY" (or FAST_FORWARD) then it works as expected (the execution plan has the full outer join and results are as expected).
April 15, 2015 at 7:37 am
I may be misunderstanding you, but does this help?
Setup -
IF OBJECT_ID('tempdb..#testEnvironment') IS NOT NULL
BEGIN
DROP TABLE #testEnvironment;
END;
SELECT TOP 5
...
April 15, 2015 at 4:29 am
BWFC (4/15/2015)
create proc Parameter_Provider as
declare @login varchar(4) = 'BWFC'
declare @results table
(
col1 varchar(10)
,col2 int
)
execute sp_executesql Parameter_Recipient ---requires @login parameter.
--- I...
April 15, 2015 at 4:01 am
I've answered this question in the first post you made about this here --> http://www.sqlservercentral.com/Forums/Topic1676026-3077-1.aspx%5B/url%5D.
So, quoting myself: -
Cadavre (4/10/2015)
IF OBJECT_ID('tempdb..#stagingTable')...
April 14, 2015 at 1:25 am
Sample data used: -
IF OBJECT_ID('tempdb..#testEnvironment') IS NOT NULL
BEGIN
DROP TABLE #testEnvironment;
END;
SELECT TOP 10
IDENTITY( INT,1,1 ) AS ID,
...
April 13, 2015 at 9:24 am
jbalbo (4/10/2015)
I have a query where I want to select only the top record which meets the criteria from one of the tables (if any)
but want all the other...
April 10, 2015 at 3:15 pm
vipin_jha123 (4/9/2015)
I am having one store procedure which use to load data from flat file to staging table dynamically.
everything is working fine.staging_temp table have single column.all the data stored...
April 10, 2015 at 2:36 am
Viewing 15 posts - 46 through 60 (of 2,006 total)