| |

VerySource

 Forgot password?
 Register
Search
Author: sunnylan

Preceding a number by '0' How to use SQL statement

[Copy link]

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-8-14 22:15:02
| Show all posts
Add 0 upstairs
But how do you save it to the database in this case?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-14 23:00:01
| Show all posts
There is no need to add 0 to save to the database. Don't forget that he uses DELPHI to do it. I think he means to add a 0 to the data extracted from the database when designing the interface. Then the writing statement is just DELPHI. The problem is, no SQL
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-4 11:00:01
| Show all posts
[Quote=quote the reply oflonelywenyion the 9th floor:]
RIGHT(100000000+field name, 8)
[/Quote] Worshiping 9L has solved my problem!
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