Showing posts with the label
stored-procedures
Issue From what I've read it should be possible to edit data described by a view if the data be…
Issue I'm writing a Stored Procedure to do "lots of things" (input validation, insert…
Issue Hello I created a PLSQL procedure to update or insert quantity in inventory table based on pr…
Issue I have two databases (A and B), both SQL Server, on different servers. These databases are co…
Issue Consider the dangerous stored procedure below: ALTER PROCEDURE [dbo].[ExecDynamicSQL] @…
Issue hi friends i googled for this and find different methods use by others to prevent sql injecti…
Issue I have to use this exact script below: ALTER PROCEDURE [dbo].[sp_CheckIfSQLLoginExistsAndCre…
Issue We have a ton of SQL Server stored procedures which rely on dynamic SQL. The parameters to …
Issue i have a package in oracle CREATE OR REPLACE PACKAGE PKG_TEST IS TYPE REFCURSOR IS R…
Issue I need clarification on how SQLServer behaves when you execute a parameterised procedure with…
Issue I'm facing a problem here in SQL Server. I have to use the stored procedure sp_executesql…
Issue In Oracle, we can write anonymous blocks for quick testing of logic without having to store t…
Issue my 1st day with stored procedures. when i call the procedure for the 2nd time i get an error?…
Issue select top 10 (DATEPART (year, ss.[dateTime])) from states ss where ((DATEPART (yea…
Issue I want to build custom Where condition based on stored procedure inputs, if not null then I w…
Issue I am trying to use a SQL Server procedure to create two tables with different names depending…
Issue I have a stored procedure with two DATE parameters that I want to have a default value. Howe…
Issue I have a User Input coming into the database to get compared to a table's column. I'…
Issue I have a SQL Server database (let's call it DB1) with a few stored procedures, and these …
Issue Can you show sample coding to create a trigger or stored procedure that maintains rows a SQL …