| |

VerySource

 Forgot password?
 Register
Search
View: 701|Reply: 1

I'm using PLSQL. How do I select one of the retrieved data?

[Copy link]

2

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-27 07:00:01
| Show all posts |Read mode
select temp.itemno
            into v_sku
            from t_goods_re_temp temp
            where temp.itemtype = v_itemtype and temp.itemspec = v_itemspec and temp.bandname = v.bandname;
Select one of the data that meets these conditions. How should I write it?

Help!
Reply

Use magic Report

0

Threads

71

Posts

50.00

Credits

Newbie

Rank: 1

Credits
50.00

 China

Post time: 2020-2-21 00:30:01
| Show all posts
select temp.itemno
            into v_sku
            from t_goods_re_temp temp
            where temp.itemtype = v_itemtype and temp.itemspec = v_itemspec and temp.bandname = v.bandname and rownum <2;
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list