Skip to content

Pass a query to informatica

I am trying to pass a complete query to source qualifier of Informatica powercenter Designer. Since the query is large I cannot parameterize it (limitations of UNIX also comes here). So, is there a …

SQL Server: Best way to concatenate multiple columns?

I am trying to concatenate multiple columns in a query in SQL Server 11.00.3393. I tried the new function CONCAT() but it’s not working when I use more than two columns. So I wonder if that’s the best way to solve the problem: I can’t use COLUMN1 + COLUMN2 because of NULL values. EDIT If I t…

Dynamics AX strange index functionality

At work we have a customer which doesn’t allow synchronizing. They have a database trigger which stops all Dynamics’ synchronization stuff. Now we are moving on to a plan where the synchronisation is allowed but I have to make a list of all indexes that do not match between AX and the SQL database…

mysql compare specific date

I have a table which contains a varchar field containing date like ’15 May 2015 – 03:10 am’ I have to compare all date in this table with the current date to retrieve row which are next the current …

How to SUM() for past 3 months for every field in a column

I have a table in MS Access that looks something like this And I want to count for every item in every month, what’s the sum of the past 3/6/12 months and it should look something like this Is there anyway this can be done in SQL queries? Answer Try a self-join on Item and t2.Date <= t1.Date and t2.D…