I am currently migrating a PostgreSQL procedure to work in Redshift Spectrum Serverless. I was able to have a working procedure that works as intended ...
I am currently migrating a PostgreSQL procedure to work in Redshift Spectrum Serverless. I was able to have a working procedure that works as intended ...
The following code is in SQL Server, I want to know how to refactor it so if EDA.GROUP_CARGO='' (If this field is empty, it means if it isn't A neithe ...
Through the following query, I am able to get the total for the current month from a data table. Since I am working inside a stored procedure, I ha ...
I am trying to implement "cancel" functionality on pages with potentially long running select queries or processes. Indexing and other optimizations h ...
I am working on creating a simple utility that allows our users to execute a pre-selected list of stored procedures that return a simple list result s ...
I am trying to create a Stored Procedure as follows - However I have two problems - The Allocated field is not recognised as it is created by the ...
I am checking if the store code is deleted then I set ISACTIVE = 'N' SO again if I want to create the store with same CODE its not allowing me to crea ...
I couldn't figure out where the problem is! The procedure is successfully created but the call throws the following error: Cannot read properties ...
Could someone please help in how to write multiline sql query. I found few answers that indicate using backtick in javascript but not sure how to ac ...
I have a column named 'Products' and its VARCHAR2(4000). In some cases I send more characters than 4000. It looks like '1,2,3,4,5,6...'. How can i ins ...
I am using a stored procedure with one parameter (@tablename) to generate a table of attributes about the table named via the parameter. I call the s ...
The 2 tables below will pull a world of data from details_2 table but will join to the fields based on different reason coded in #exceptions table. I ...
I have two stored procedures which will execute based on a condition. First stored procedure : AvailableHourSlots: Second stored procedure : Avail ...
Hi My task for a project is to remove this warning "Type conversion in expression (CONVERT(varchar(10),[Expr1017],0)) may affect "CardinalityEstimate" ...
I am working on a SQL Server stored procedure. I have table with these columns in my main Bus table. I am trying to implement search functionality ...
I am trying to build bigquery stored procedure where I need to pass the table name as a parameter. My code is: I followed a couple of similar quest ...
I'm working in pl sql block to add double quote and comma for each break line currently my block is this: The output is this: How can I remove co ...
Im working in a pl sql block to iterate a string line and I need add to each line double quotes and a comma similar of this: My block is this: T ...
We are working with Azure Data Factory and there is this pipeline in which I am trying to check the response of an API which reports a pipeline status ...
I am doing a migration exercise from SQL Server to Postgres and I found this type of variable in a stored procedure: In the variable planila1 , the ...