Skip to content

Function to convert IP Address w.x.y.z to integer? #4063

Answered by pawelsalawa
richb-hanover asked this question in Q&A
Discussion options

You must be logged in to vote

You can go to SQLiteStudio's custom functions (https://github.com/pawelsalawa/sqlitestudio/wiki/User_Manual#custom-sql-functions) and add these functions:

https://github.com/pawelsalawa/sqlitestudio/wiki/Qt_script_ip2int
https://github.com/pawelsalawa/sqlitestudio/wiki/Qt_script_int2ip

Remember that such functions work only when you operate on the database from the SQLiteStudio. If you want such functions in your own application using SQLite, you need to register & implement them in your application.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@richb-hanover
Comment options

Answer selected by richb-hanover
Comment options

You must be logged in to vote
3 replies
@pawelsalawa
Comment options

@richb-hanover
Comment options

@pawelsalawa
Comment options

Comment options

You must be logged in to vote
2 replies
@pawelsalawa
Comment options

@richb-hanover
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants