226 Posted Topics

Member Avatar for The Dude
Member Avatar for michaelh613

[url]http://mysql.telepac.pt/doc/query-browser/en/mysql-query-browser-using-procedures.html[/url] [url]http://www.digitalpropulsion.org/Programming/Stored_Procedures_in_MySQL_5_0[/url]

Member Avatar for varmadba
0
106
Member Avatar for sankarmal

^ Maybe the OP means Composite key .. -------- You are trying to insert data (PK) which already exists in your table .. this is why you are getting this error ..

Member Avatar for Sulley's Boo
0
57
Member Avatar for 2eXtreme

[code=SQL]select ID, date, time from tbl where date =(select max(date) from tbl) and time= (select max(time) from tbl) group by ID[/code] ?

Member Avatar for Sulley's Boo
0
2K
Member Avatar for Dave Sinkula

[QUOTE=itdupuis;628539]I am 28, and we (friends, family) simply use the brand name. For the most part, the generic terms associated with the description of a softdrink have never been used by us. Now that I think about it, not too many other people take that approach....I do not know how …

Member Avatar for Infarction
0
150
Member Avatar for mattyd
Member Avatar for tytyguy
Member Avatar for campkev
0
167
Member Avatar for firas489

[code=sql]select to_date(FLD_AS_STRING, 'dd/mm/yyyy') from Table1 where to_date(FLD_AS_STRING, 'dd/mm/yyyy') > sysdate;[/code]

Member Avatar for Sulley's Boo
0
72
Member Avatar for HugoCore
Member Avatar for briansmall
Member Avatar for The Dude

My fav. are all listed in here [url]http://www.nipponanimation.com/[/url] Watched most of them (dubbed into Arabic) .. I like watching Tom n Jerry too .. not the Juniors series (eww) ..

Member Avatar for Sulley's Boo
0
103
Member Avatar for Trogan

<_< Remove the PK (invoice_no, ISBN) from the Delivery table so that you can repeat the invoice_no as much as you want. Think of a new PK for the detail (delivery) table. How about Serial no?

Member Avatar for jinternalframe
0
145
Member Avatar for SyCo
Member Avatar for nireekshan

:S and, this line is missing [CODE]pst.executeUpdate();[/CODE] right ppl? *hides*

Member Avatar for mr4top
0
92
Member Avatar for naser.ca
Member Avatar for debasisdas
0
225
Member Avatar for samaru
Member Avatar for The Dude
Member Avatar for Sulley's Boo

[URL=http://www.fancyflours.com/fancyflours/images/large/candles-happy-birthday.jpg]=D here here[/URL]

Member Avatar for jbennet
0
148
Member Avatar for serkan sendur
Member Avatar for kimmyshop

[CODE]select a.id, a.productname, a.siteprice, b.propertyvalue from product a, productpropertyvalue b where a.id = b.productid and propertyid [COLOR="Red"]in (589, 617, 615)[/COLOR][/CODE] ?

Member Avatar for Jx_Man
0
97
Member Avatar for sbv

[CODE] EnqSrNo QTypeCode [COLOR="Red"]9 1 9 1[/COLOR] 9 2 9 2 9 2 9 2 9 3 9 3 9 4 9 4 9 4 9 5 9 5 9 5 9 5 9 5 9 5 9 5 [COLOR="Red"]8 1 8 1[/COLOR] 8 2 8 2 8 2 8 …

Member Avatar for sbv
0
113
Member Avatar for sneekula
Member Avatar for GrimJack
0
504
Member Avatar for sneekula
Member Avatar for ajf7688

> Well n not a mysql expert so i need help with this sql file here r d contents of it. > > Quote: CREATE TABLE `admin` ( `id` int(11) NOT NULL auto_increment, `username` varchar(255), `password` varchar(255), `webmaster_email` varchar(255), `lastlogin` int(11), PRIMARY KEY (`id`) )"; > "insert into admin set …

Member Avatar for mwasif
0
167
Member Avatar for The Dude

[quote][B]Sulley's Boo[/B] Sulley's Boo is a tricycle that can be used by several people at once! It emits dangerous radiation and hovers three feet from the ground. [/quote] :yawn:

Member Avatar for maui_mallard
0
245
Member Avatar for cherylt
Member Avatar for Sampath.nalaka

[url]http://www.codeproject.com/KB/IP/Sending_SMS_using_Net.aspx[/url] :?:

Member Avatar for densman
0
90
Member Avatar for forumdude123
Member Avatar for flower88

google it .. You will find tons of MS Access tutorials .. [url]http://www.bcschools.net/staff/AccessHelp.htm#CreatingOpening[/url] Here is an example .. Hope it helps ..

Member Avatar for Sulley's Boo
0
98
Member Avatar for Orbit2007

[code]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Connection Error ' . mysql_error()); } mysql_select_db("my_db", $con); $sql="INSERT INTO productlists (prod_number, name, category, type, description, price, pix) VALUES ('$_POST[prod_number]','$_POST[name]','$_POST[category]','$_POST[type]','$_POST[description]','$_POST[price]', '$_POST[pix]')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } echo ""Hit the BACK button to insert another item""; mysql_close($con) ?> [/code] :?: try …

Member Avatar for Sulley's Boo
0
128
Member Avatar for The Dude
Member Avatar for prashish_raj

[quote]include("connect1.php"); $table = events; $query = "SELECT id, topic, event, dateFROM events ORDER BY id DESC LIMIT 5"; $result=mysql_query($query); //LINE 140 while (list($id, $topic, $event, $date) =mysql_fetch_array($result)) { echo" <font color=\"#006600\">&nbsp;On ".substr($date,0,10)."</font> <a href=\"$self?page=showevents&id=$id &topic=$topic \" class=\"elibtopic\">$topic</a> [B][COLOR="Red"]";[/COLOR][/B] } [/quote] Why do you need the stuff in red?

Member Avatar for nav33n
0
159
Member Avatar for iamthwee

[QUOTE=iamthwee;524958]What's is your S*** gonna be? Have you already got someone lined up (Long term relationship). [/QUOTE] No. [QUOTE=iamthwee;524958] If not what are you gonna do about it? Do you even care? [/QUOTE] Couldn't care less.

Member Avatar for joshSCH
0
395
Member Avatar for Ancient Dragon

Not a fan of ice cream .. but those are the flavors that i can swallow Vanilla / Mango / Choco in that order .. mix them together? No problem! Any brand will do ..

Member Avatar for maravich12
0
234
Member Avatar for tayspen

Welcome back tayspen [COLOR="Red"]@[/COLOR][COLOR="Green"]--}----[/COLOR]

Member Avatar for invisal
1
175
Member Avatar for karaokeking

me me me .. It is not that bad! .. First you will have to do some tests to know the shape of your cornea and its thikness .. and then only they will tell you if you are eligible to undergo this procedure or not .. They will ask …

Member Avatar for GrimJack
0
131
Member Avatar for Serunson
Member Avatar for eranga262154

[code] To create the usp_InsertGroup stored procedure, right-click the Stored Procedures node and choose New Stored Procedure or click the Database menu and choose New Stored Procedure. Enter the following code: SQL Server CREATE PROCEDURE usp_InsertGroup ( @GroupID UNIQUEIDENTIFIER, @GroupName VARCHAR(50), @GroupDescription TEXT ) AS INSERT INTO Groups (GroupID, GroupName, …

Member Avatar for eranga262154
0
204
Member Avatar for The Dude

[QUOTE=cscgal;503720]I don't know why it wouldn't open the first time but I got it open ... not sure why you would be experiencing that. Does anyone else experience this issue?[/QUOTE] Yes, but like an hour ago. Everything is back to normal now. :-O

Member Avatar for The Dude
0
255
Member Avatar for Venom Rush

try these SUBSTRING(srting, position, length) [code]SELECT SUBSTR(Column_name,1,200) [/code] [code] SELECT SUBSTRING(Column_name, 1, 200) [/code] or [code]SELECT LEFT(Column_name, 200) [/code] :?: Hope this works ..

Member Avatar for Venom Rush
0
139
Member Avatar for pramodakumara

Try this :?: [code] SELECT Table1.ddate FROM Table1 WHERE (((Format([ddate],"dd/mm")) <> '26/01' AND (Format([ddate],"dd/mm")) <> '15/08')); [/code]

Member Avatar for Sulley's Boo
0
87
Member Avatar for kv79
Member Avatar for karanvs

Can you show us your query, please? This should not happen if you have the order by clause in your query .. :?:

Member Avatar for Sulley's Boo
0
60
Member Avatar for zandiago

Invest the money .. the double/tribble/()*%&$#)%&ipple that ill get from that, ill keep on donating it to those who need it .. and ofcourse I'd save [I]some[/I] for me n ma family :P

Member Avatar for sneekula
0
455
Member Avatar for TheNNS
Member Avatar for Ole Raptor
Member Avatar for tayana

This is a JSP forum .. Anyway, use Javascript .. You'll find so many types of dynamic menus in here > [url]http://www.dynamicdrive.com/[/url]

Member Avatar for Sulley's Boo
0
58
Member Avatar for elferra

you can set a format mask for the date .. dd-mm-rrrr hh24:mi:ss Have you tried that :?:

Member Avatar for Sulley's Boo
0
84
Member Avatar for brainchief
Member Avatar for fclanton

[CODE]update item set description=(select convert(varchar(600), description from item where itemid=5384);[/CODE] :?:

Member Avatar for nav33n
0
78

The End.