15,885,953 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by tokano (Top 18 by date)
tokano
31-Aug-13 20:05pm
View
U are a genious! This rowid helped and i have increased the limit for better results. How can i return back to you, if i have other-related question about this? This problem here is solved and you seem to know alot about SQL alot.
Thnx for helping!
tokano
31-Aug-13 17:13pm
View
This seems to work, but i think the duplicates you mentioned before make a problem :/
tokano
31-Aug-13 16:10pm
View
Yes!
tokano
31-Aug-13 15:48pm
View
There will not be more. Lets just say i have a database of 50 records. I find a record at row 30. I want now to print out rows from 25-35.
So 5 rows before and after the find row
tokano
31-Aug-13 15:27pm
View
I'm having like a database of files and they are organized by date and time. Lets say i'm about to search for a entry and i found it. I want the SQL to print out 5 rows before this entry and 5 rows after... I hope u understand me better now
tokano
23-Jul-13 15:47pm
View
I still have a question here. What if some rows already have the value which is the same as in the other row and i would like to overwrite it, not cumulate it (sum). What could i do then?
Here is the picture of what i mean:
http://shrani.si/f/3g/F0/zA1BEAY/untitled.png
See those two rows having the same time, but some values are in the second row also. I would like to merge them.
tokano
23-Jul-13 10:01am
View
Thanks for your answer. I've run it and it actually done what it should, many thanx! I've been looking into the SUM function, and i dont understand it well. Doesnt sum (summa) cumulate those numbers then?
Edit: i see it actually does, doesnt it? But the other columns joined are empty, therefore no value is changed. Am i right?
tokano
23-Jul-13 9:35am
View
Oh thank you very much! Can i ask you to edit your solution a bit, because so many "&" and quotes are in, i'm getting confused.
Is also there any way to join two sql querys? Because first i order them by date and time, then i want to execute the query u wrote.
Thnx
P.s.: And how can i continue if u have more then 2 columns as shown on the picture?
From sample as s1
inner join sample as s2
inner join sample as s3...etc?
edit : thank for your contribution, but the statement with SUM and group BY is easier for me, and does the same work!
tokano
21-Jul-13 13:00pm
View
Right on Griff! :) Works like a charm. Its not faster on my case, cause i have to loop trought records, but, it fill the whole CSV to the database without errors! Thank you very much!
tokano
21-Jul-13 10:36am
View
I see where this is going, 1 million records? Nice, just the thing i need. I will analyze the code and try to implement it in my project. Thanx for the link. I will report back for results!
Greets
tokano
21-Jul-13 10:32am
View
I have tried it this way but the error is still there. The first time i've programmed the function it went to 340k entries. So 100k missing, no error till there! But now the error appears sooner..
The problem is still there, huh :(
tokano
24-Nov-12 8:19am
View
Well the picture i gave you, gives me the 3D feeling.
This one: http://static.usenix.org/event/usenix05/tech/freenix/full_papers/kirsch/kirsch_html/img/street.jpg
I dont want all the fancy texture and red dots..just the road in this kind of perspective.. What i get is in the first post, the first picture.
tokano
24-Nov-12 6:25am
View
No problem about the answer..
Well, i do not know what should i FIX to make my road look like 3D. I just pointed out two of the things i might have the problem with. Maybe the solution is a third one. I thought that if i get draw the x y z coordinates, everything will be ok from that point on..but nope..it looks like 2D:S
tokano
23-Nov-12 16:51pm
View
Well yes, maybe i will have to draw different things..but the question is still simple. How to get this '3D LOOK' on the road i am drawing.. I got all the 3 coordinates, still the object looks like 2D. There is something i am not doing right..and any help in this direction would be usefull..
Maybe i am just searching for someone to push me in one direction i should search for the solution..
tokano
24-Oct-12 11:33am
View
Exactly!
Thank you both very much, for help! I hope i'll be meeting you guys more with answers and questions:)
tokano
24-Oct-12 11:27am
View
Here is the picture, what is drawn when going trough the loop.
http://postimage.org/image/mqf9h21op/
It's definitly not what i'm looking for. It should be more then one line:)) And you can see on the picture how i need to change the camera (translate) to see my drawn object.
Now when i've read the answer from Marcus Kramer, i found out that something has happened! I'm on the right track now! Here are the results!
http://postimage.org/image/urhg4phbj/
I think the whole problem was, that i had initiated the begin and end in the loop, and that's why it always "RESET" the other lines..and eventually showed just the last one.
tokano
24-Oct-12 9:26am
View
Well i got gauss krueger coordinates stored in a txt file, from a "walk" i made. After reading the txt file i store these coordinates in a two dimensional array.
Example:
<pre lang='cs'>
coordinate[0,0] = x
coordinate[0,1] = y
coordinate[0,2] = z</pre>
And then
<pre lang='cs'>
coordinate[1,0] = x
coordinate[1,1] = y
coordinate[1,2] = z</pre> ...and so on!
So i want now to place every single 'dot' of this into <pre lang='cs'>Gl.glVertex3f(float x, float y, float z)</pre>
I use <pre>Gl.glBegin(Gl.GL_LINE_STRIP);<pre>
And after all this done in a loop, a terain connected with all these dots and lines should show up.
I hope i've give more information then before! Thnx for replying!
tokano
24-Oct-12 8:54am
View
I do know, but when i make my while statement it doesnt want to draw the result. It just makes one line, not all of them
Show More