Hii ..我在支付字符串时遇到问题 [英] Hii.. I Have A Problem In Dispaying String

查看:83
本文介绍了Hii ..我在支付字符串时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨......请帮帮我。

i有sql中的数据写成APR APR-MAY-JUNE-JULY-SEP-AUG-OCT-NOV-DEC-JAN-FEB-MAR-

我想在标签上显示它作为APR-MAR​​-

hi... please help me.
i have data in sql written as APR APR-MAY-JUNE-JULY-SEP-AUG-OCT-NOV-DEC-JAN-FEB-MAR-
and i want tto display it in label as APR-MAR-

推荐答案

这是糟糕的设计。如果要将数据逐月映射存储到只有外键ID和月份的新表中。

您不应该以这种方式存储数据。
This is bad design. If you want to store data monthwise map to a new table that has just the foreign key id and the month in it.
You should not be storing data in this way.


这篇关于Hii ..我在支付字符串时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆