Skip to content

Access UPDATE query using Regular Expressions

I have created the following Regular expression in javascript to test if the string works. which works perfectly fine. However no i have tried to convert this SQL (using the ms access sample database) i have tried the following which hasn’t worked as i get an error. which didn’t work. I think I&#8…

SQL INSERT INTO from multiple tables

this is my table 1: this is my table 2: and now I want a table 3 which shows me all information: I tried first to insert into table 3 only the values from table 1 and then I inserted into table 3 the values from table 2 with an inner join where Id = Id is. But all I

Use string contains function in oracle SQL query

I’m using an Oracle database and I want to know how can I find rows in a varchar type column where the values of that column has a string which contains some character. I’m trying something like this (that’s a simple example of what I want), but it doesn’t work: I also want to know if …

How to set a connection from eclipse to SQLServer?

I am trying to connect to SQL Server from eclipse and i get the following error. I mention that i verified and the SQL Server Browser is running on the host and i have no firewall active. This is the code i’ve written: Answer First thing before DB programming. Test each “step”. Before execut…

How to insert rows to value

Have table with values refl value have parametres like : I want to select all data which is in refl to another value declare @val nvarchar(4000) . Is it possible ? When I try select @val = refl from #tbl it select only last row, I want to select all rows. How do it? It must be like Answer Try