What do you want to save?
Add Code snippet
New code examples
-
SQL 2021-09-19 13:01:02
sql where contains
SELECT * FROM tbl WHERE tbl.col NOT LIKE '%text%'; Add solution -
C# 2021-09-19 08:42:02
c# how to fill a datatable
public DataTable GetData() { SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["BarManConnectionString"].ConnectionString); conn.Open(); string query = "SELECT * FROM [EventOne]&q... Add solution -
PHP 2021-09-19 08:17:02
how to catch query exception in laravel 8
try { $results = \DB::connection("example") ->select(\DB::raw("SELECT * FROM unknown_table")) ->first(); // Closures include ->first(), ->get(), ->pluck(), etc. } catch(\Illuminate\Database\QueryException... Add solution
Best helpers
Ranking is empty