Thank you a lot. That was the problem, the problem was with the sequence, which didn't exists...
Best Luck
z...
User Profile
Collapse
-
-
Relation Does not Exists
Dear Friends,
I guess the problem I am prosting right now should be quite trivial, but nevertheless I'm experienced with SQL, this does not stand for PostgreSQL.
I have a table with the stucture approx:
And I want to run the query:Code:idorvos | integer | not null default nextval(('idorvos'::text)::regclass) nev | character varying(255) | not null
...Code:INSERT
-
-
assign char to std::string changes the char itself?
Dear Friends,
I don't even really know how to describe this problem. My base64 decoding algorithm doesn't work fine, because the result of the following lines is 0xffffffc5 instead of 0xc5.
Please tell me how can I get in/out the string the original 0xc5 value and why is it going that way.
Thank you!
Zoltan
The code:
...Code:std::string t1; char* x = new char[1];
-
-
Sammy, super thanks! I will get along with this, enjoy your day!
Zoltan...Leave a comment:
-
Escaping quotes in .NET for MSSQL
Dear Friends,
I just can't find the solution for escaping strings for MSSQL. I guess it is a usual problem. I want to escape a string in a C# application, what should I change?
Thanks for your help.Code:string anything = "xx ' xx \" xx"; DB.Query("INSERT INTO something VALUES('" + anything + "')");
Zoltan -
-
Compiling a Class as DLL in .NET
Dear Friends,
I have a big C# project and I would like to compile some classes of it as separate DLLs to load them runtime with Reflection.
Please help me and tell me which directives shall I use, or where to click :) -
-
-
Console.WriteLi ne is a function. Use it as a function :)
Console.WriteLi ne(var1);Leave a comment:
-
Hey!
As far as I know, there is no way to do this. Of course, if you have your p.asp and v.asp, you can always do some javascript tricks.
Maybe on v asp, you can do something like that:
...Code:<script type='text/javascript'> function printme(){ document.print(); window.close(); } </script> <body onload='printme()'> </body>Leave a comment:
-
Handling uncaught exceptions
Dear Friends,
I'm struggling with my ASP.NET/C# site. I want a default error site for all the uncaught exceptions.
I tried to work it out, but no success.
That's what I did:
Global.asax:
...Code:void Application_Error(object sender, EventArgs e) { HttpApplication app = (HttpApplication)sender; app.Response.Clear(); app.Response.Write("hello"); -
Implementing a protocol
Hello Friends,
I have just implemented my own protocol for a provisioning system. It works out fine and seems to be reliable enought, I am still curious, which are the typical pitfalls of it. Could you advice any web pages dealing with this subject, how to create a protocol? I couldn't go far with google.
Thanks
Zoltan -
-
Easy to use SSL library for C++
Dear Friends,
I'm searching for an Easy-to-use c++ socket library, which supports SSL ( SSL3 or TLS1 ) and can be used on Linux systems with g++.
Zoltan -
I guess, not. Probably you have to use crontab ( if you are on unix ) or clicking massively around the scheduler in windows....Leave a comment:
-
I don't really understand the 3rd,average # of invoices part, but the following query is probably a good starting point:
I guess if you want to get the # of invoces, you probably need to break down/group your query and use nested selects/stored...Code:SELECT AVG(TIMESTAMPDIFF(MINUTE,completion_time,order_time)) As AVGMinutes AVG(fee) as AVGFee FROM Table1 LEFT JOIN Table2 USING(doc_id)
Leave a comment:
No activity results to display
Show More
Leave a comment: