![]() | |
#21
| |||
| |||
|
|
My series data (that a new table with 1:n series -?> series_data) must not have any holes. The series data values must be continuously. |
|
My reflection: Every call is within my actually session, that means if I call my stored procedure, create my series id, i will get a new value without collision, than I insert my data without using a sequence (I will use a counter variable). Can be run this code in problems? I think it doesn't, because I can create a series completly or not and if the series is created all series data have a continuiusly numbering. Is that right? Is this a good way or can I do it better? |
#22
| |||
| |||
|
|
My series data (that a new table with 1:n series -?> series_data) must not have any holes. The series data values must be continuously. |
|
My reflection: Every call is within my actually session, that means if I call my stored procedure, create my series id, i will get a new value without collision, than I insert my data without using a sequence (I will use a counter variable). Can be run this code in problems? I think it doesn't, because I can create a series completly or not and if the series is created all series data have a continuiusly numbering. Is that right? Is this a good way or can I do it better? |
#23
| |||
| |||
|
|
My series data (that a new table with 1:n series -?> series_data) must not have any holes. The series data values must be continuously. |
|
My reflection: Every call is within my actually session, that means if I call my stored procedure, create my series id, i will get a new value without collision, than I insert my data without using a sequence (I will use a counter variable). Can be run this code in problems? I think it doesn't, because I can create a series completly or not and if the series is created all series data have a continuiusly numbering. Is that right? Is this a good way or can I do it better? |
#24
| |||
| |||
|
|
My series data (that a new table with 1:n series -?> series_data) must not have any holes. The series data values must be continuously. |
|
My reflection: Every call is within my actually session, that means if I call my stored procedure, create my series id, i will get a new value without collision, than I insert my data without using a sequence (I will use a counter variable). Can be run this code in problems? I think it doesn't, because I can create a series completly or not and if the series is created all series data have a continuiusly numbering. Is that right? Is this a good way or can I do it better? |
#25
| |||
| |||
|
|
My series data (that a new table with 1:n series -?> series_data) must not have any holes. The series data values must be continuously. |
|
My reflection: Every call is within my actually session, that means if I call my stored procedure, create my series id, i will get a new value without collision, than I insert my data without using a sequence (I will use a counter variable). Can be run this code in problems? I think it doesn't, because I can create a series completly or not and if the series is created all series data have a continuiusly numbering. Is that right? Is this a good way or can I do it better? |
![]() |
| Thread Tools | |
| Display Modes | |
| |