Skip to content Skip to sidebar Skip to footer
Showing posts with the label Recursion

What Leads To This Strange Sql Behavior?

Running SQL 2005 X64. First, create the following stored proc on a database: CREATE PROCEDURE dbo.… Read more What Leads To This Strange Sql Behavior?

How To Build A Recursive Structure With Mongodb

I'm trying to do something usually simple with SQL (with foreign key in the same table for exam… Read more How To Build A Recursive Structure With Mongodb

T-sql Puzzler - Crawling Object Dependencies

This code involves a recursive Stored Procedure call and a 'not so great' method of avoidin… Read more T-sql Puzzler - Crawling Object Dependencies

Oracle Sql Recursion To Find First Instance Of Non-null Column Value

I'll try and explain how the table is laid out so that what I need might be a bit more clear. #… Read more Oracle Sql Recursion To Find First Instance Of Non-null Column Value

Computing Minimum Path Lengths In An Sql Table

I'm having a problem with this exercise: Table Friend: Friend1 Friend2 Table Relationship… Read more Computing Minimum Path Lengths In An Sql Table

Oracle Sq Identify Siblings Via Siblings

I have linked together groups of records which are related via a shared parent. Unfortunately ther… Read more Oracle Sq Identify Siblings Via Siblings

Get A Recursive Parent List

Using MySQL, I want to return a list of parents, from a table that has a field structure like this.… Read more Get A Recursive Parent List

Sql Implementation With Sliding-window Functions Or Recursive Ctes

I have a problem that it's very easy to be solved in C# code for example, but I have no idea ho… Read more Sql Implementation With Sliding-window Functions Or Recursive Ctes

Generate All Possible Combinations Of Strings Of Certain Length In Oracle

I have written a program to generate all possible combinations of strings of length two. The progra… Read more Generate All Possible Combinations Of Strings Of Certain Length In Oracle

Recursively Grab All Data Based On A Parent Id

We have a table where rows recursively link to another row. I want to pull data associated with a g… Read more Recursively Grab All Data Based On A Parent Id

Ordering Hierarchy From Recursive Query Results In Sql 2005

I've got a 'Task' table with the following columns (the TaskOrder is for ordering the c… Read more Ordering Hierarchy From Recursive Query Results In Sql 2005

How Do I Prevent Trigger Recursion In Sqlite?

I am trying to create a trigger which will update the grades of all the friends of a student whose … Read more How Do I Prevent Trigger Recursion In Sqlite?

How To Convert Cursor Based Query In To Set Based

I'm not a expert on SQL and I'm working on a huge SQL code and unfortunately it has a CURSO… Read more How To Convert Cursor Based Query In To Set Based

Recursive Stored Functions In Mysql

I'm trying to make a function that recursively builds a path for a specific category CREATE FUN… Read more Recursive Stored Functions In Mysql

Idea To Approach Sql Family Tree (mysql)

I currently have 100k+ records in my mysql database that define a person. A person has an ID, a fat… Read more Idea To Approach Sql Family Tree (mysql)

Delete Recursive Postgresql

I have a table upload_temp as it follows: CREATE TABLE upload_temp ( codigo serial PRIMARY KEY … Read more Delete Recursive Postgresql

Creating Group For Multiple Columns With Multiple Duplicates

The below table contains details of members and their policies. We need to form a group of 2 or mor… Read more Creating Group For Multiple Columns With Multiple Duplicates

How To Display Parent Id For Itself And Children With T-sql Recursive Query

I am working on recursive query which take table with parent-child relation ID | ParentID | descrip… Read more How To Display Parent Id For Itself And Children With T-sql Recursive Query

Ssrs: Recursive Parent Child

I want to create hierarchical report in SSRS using this simple table? Could you please help me? I f… Read more Ssrs: Recursive Parent Child