Skip to content
Advertisement

Oracle compare results from query against a table

I need to compare results from a query against a table. I have the following query: select i.person_id, a.APPELLANT_FIRST_NAME, a.APPELLANT_MIDDLE_NAME, a.APPELLANT_LAST_NAME, a.databaseidnumber, a….

select a numeric column as string

Is it possible to select a numeric column as string with proc sql in sas ? for exemple i have this table (table_1): id_1, id_2 and id_3 can be numeric or string. i want to create a table (table_2) where these three columns should have string as type I wrote this code : But it doesn’t works Answer The best

How to insert a value from DLookup into a table

Ive created a DLookup to search for the table ([Copy of tblTypeOfAsset]) record i have just added from combo boxes to find the ID. From here i want to insert this value into another table, just to …

Why collation doesn’t work with for xml path in subquery?

I usually use collate SQL_Latin1_General_CP1251_CI_AS to remove accents (diacritics) like this. escrzyaie-escrzyaie Unfortunately, after one of the search queries stopped working, I found out that collation is ignored when used in combination with for xml path in subquery. ěščřžýáíé-ěščřžýáíé It is possible to work around this by using collation for each part separately, but I wonder why it doesn’t work

Advertisement