Quantcast
[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr / vt ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

Due to resource constraints, /g/ and /tg/ will no longer be archived or available. Other archivers continue to archive these boards.Become a Patron!

/g/ - Technology


View post   

[ Toggle deleted replies ]
>> No.82529400
File: 643 KB, 1280x804, ac-id77-9bc.png [View same] [iqdb] [saucenao] [google] [report]
82529400

>>82529315
https://metacpan.org/pod/SDBM_File

>> No.82529415
File: 5 KB, 225x225, 1484111529236.jpg [View same] [iqdb] [saucenao] [google] [report]
82529415

>>82529315
i fucking hate java. so we made this simple program, enter some values, click next page, delete, update, new...blabla. all done with textfile. now i tried to get it to work with sqlite instead of a textfile and every 2 seconds i encounter errors. i can't even find documentation on the sqlite syntax. like why tf does 'Name' text work but also only 'Name'. -no column found -can't open database -unique contraint failed....AAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHH

>> No.82529440

public static String queryCreateDatbase = "CREATE TABLE IF NOT EXISTS Mitarbeiter ( " +"ID INTEGER PRIMARY KEY AUTUTOINCREMENT, " +"KdNr INT," +
"'" + "Name" + "'"+ ");";
this syntax is what cancer looks like

>> No.82529441

>>82529415
relax it's just sql bro

>> No.82529664

i keep getting filtered so fucking hard with database relationships why does everything assume im trying to make some 100TB enterprise backend i just want to make a shitty flask webpage holy fuck

>> No.82529777

>>82529664
All you need is foreign key probably
Just start playing with it. Maybe look at tinyib for schema crap, or the flask tutorial on the site.

>> No.82530712
File: 113 KB, 1024x1000, disappointment dog.jpg [View same] [iqdb] [saucenao] [google] [report]
82530712

>>82529415
>i can't even find documentation on the sqlite syntax
You have not looked very far dude.

>> No.82532114

>>82529324
obsessed

>> No.82532162
File: 613 KB, 1280x720, 1626257925563.jpg [View same] [iqdb] [saucenao] [google] [report]
82532162

>>82529315
cuck license

>> No.82532176

>>82532162
nobody cares about your gay porn license 3

>> No.82532181

>>82529440
You're right, you should've used final and it should be a prepared statement

>> No.82532304
File: 509 KB, 1318x1738, 1624300596473.png [View same] [iqdb] [saucenao] [google] [report]
82532304

>>82529453
NOoooOO!OOOOOO! You CAn'T BE NOSQL!!! noooOOOOO it's NOT ACIIID ahhhhhhhh
ahoo STOP SAYING IT JUST WERKS.... THERE'S NO KEEEYS or INDEX

>> No.82532320

>>82529315
based

>>
Name (leave empty)
Comment (leave empty)
Name
E-mail
Subject
Comment
Password [?]Password used for file deletion.
Captcha
Action