LinqPad - write SQL and it converts to Linq Lambda - sql

Does LinqPad have a way such that you write the query in SQL and it converts to Lambda Expressions in Linq?

LINQPad doesn't do this.
But Linqer does!

Related

How can we write a parameterized query in ssrs report when we use Snowflake as data source

I'm working on Sql server to Snowflake migration project,So i pointed ssrs reports to Snowflake data source and converting sql queries as per snowflake,but i'm not able to get how can we write queries for parameterized reports.Example select * from Student where Std_id=#id,want to convert to snowflake query.
You can use SQL variables:
https://docs.snowflake.com/en/sql-reference/session-variables.html
or Snowflake Scripting Variables:
https://docs.snowflake.com/en/developer-guide/snowflake-scripting/variables.html
I think the SQL variables would be helpful in your case, but Snowflake Scripting variables would be more similar to your SQL Server # variables.

Execute valid Oracle DB query in Microsoft Query

I've written an oracle query which executes fine against Oracle 11g DB (I wrote it in PL/SQL developer). But when I try to copy/paste it into Microsoft Query as SQL, it fails with ORA-00900: invalid SQL statement.
Is there a list of what can be included in query for Microsoft Query to be treated as valid? In my query I use a lot of SQL modelling - is it not supported?
I don't believe any of the MODEL features of Oracle are supported by any MS SQL variant.
But as that is an ORA message you are still executing against Oracle, I have to assume that the connection is messing with the SQL. Why do you need to issue the sql through MS Query?
(Perhaps you could define a view/function/proc in Oracle with your model syntax, and then use that object through MS Query)

iReport, use SQL instead HQL query with an hibernate connection

i'm writing a query that need UNION and hql doesn't support it. So the only workaround is to use standrad SQL query but the problem is i can't use it in iReport if i use hibernate.
There is a way to use sql in iReport with an hibernate connection?
Thanks.
Use a View. See this: Hibernate Union alternatives

Is there an SQL Server equivalent to Oracle's RETURNING statement?

Is there an SQL Server equivalent to Oracle's RETURNING statement?
I'm wondering if the OUTPUT clause would help.
Yes, the OUTPUT clause is exactly what you need.
In SQL Server 2008 you can even chain the output clauses.

SQL to LINQ generator

I am new to LINQ and just wanna know; is there any application in which I type standard SQL and it gives me its representing statement in linq?
Previous SO on similar topic:
SQL to LINQ Tool