|
When you are deploying any project then you can specify the prerequisites for that project. Here Mysql 5.1 is the prerequisite of your application. VS provides some default prerequisites. If you don't find the required one there then you can create custom prerequisite and include it there.
|
|
|
|
|
HI Nisha,
Thanx for your reply. Can you please tell me how to create custom Prerequisite and How to include it with the setup.
Please guide me.
Thanks again.
|
|
|
|
|
|
Thanks Nisha my problem is solved now.
|
|
|
|
|
I am facing the same problem plz send me the solution on my mail address
abdullah555@yahoo.com
|
|
|
|
|
Hi,
I am having two table which are related with primary and foreign key constraints. I want to delete records from both the tables using innerjoin.
I applied like this,
delete sports,studentregtable
from studentregtable as sr
INNER JOIN sports sp ON sr.registerNo = sp.RegisterNumber
where RegisterNumber = '123'
but it is giving an error like incorrect syntax near ",".
can you please help me if you know the solution.
|
|
|
|
|
You have to delete from each table separately. Try the following
delete from studentregtable where registerNo = '123';
delete from sports where RegisterNumber = '123';
Chris Meech
I am Canadian. [heard in a local bar]
In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
|
|
|
|
|
If one of the tables has a foreign refencing the other table, start with the table with the foreign key.
|
|
|
|
|
If this is SQL Server, you can specify to cascade deletes when you create the foreign key constraint. Then, you can delete from the parent table and the database will automatically delete the corresponding rows from the child table.
Personally, I don't like this because it makes me feel as if I'm not in control and I get nervous when the DBMS does things behind my back like that. But some people swear by it, so YMMV.
Sybase and DB2 both have this same cascade ability on a foreign key; not sure about Oracle but I guess it probably does.
|
|
|
|
|
Yes, it does.
|
|
|
|
|
I'm in the process of starting a new application, mainly for the Desktop, but multi-user ready, about 10 users, using VB.NET and Winforms. What do you thing is the DB engine to choose ? Msaccess, SQL Server Express, MySQL, or other ? Your opinion is welcome.
|
|
|
|
|
Member 3108667 wrote: but multi-user ready, about 10 users
I would go for SQL Server (Express). This gives you the chance to extend your application to n folds in future with no effort in programming and by just changing the express version to the proper SQL Server.
Hope this helps.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I used TDE Certificate for my database.... Later I disabled the encryption.. But, anyhow, I cannot able to restore the database to another server.... Problem is still the log file is using the certificate... How to remove the certificate completely...
Plz Anybody Help me!!!!!!!!!!
|
|
|
|
|
In SSRS using Local Processing Mode .
I Have A situation Like This.
I need to Select a value from ddl depending on the selection i need to display the report
I have Done This Using Datasource and without using any parameters in Report
The Below Link Is Only For Demo Purpose
http://220.227.91.180:81/ReportsDemo/ReportWithParameters.aspx[^]
I used Datasource but not parameters .
How to Use It By Using Parameters?
If It Helps Click It as Answer
|
|
|
|
|
Hello,
I'm doing a program in C # and i need to extract an rtf field of firebird database .Na fact the field is a string, but I think the field is a document rtf that was encoded and inserted through language delfi.
Under a piece of the field:
{\rtf1\ansi\deff0\deftab254{\fonttbl{\f0\fnil\fcharset0 Times New Roman;}{\f1\fnil\fcharset0 Arial;}{\f2\fnil\fcharset0 Arial Unicode MS;}{\f3\fnil\fcharset0 Tahoma;}{\f4\fnil\fcharset1 Cambria Math;}{\f5\fnil\fcharset238 Times New Roman CE;}{\f6\fnil\fcharset204 Times New Roman Cyr;}{\f7\fnil\fcharset161 Times New Roman Greek;}{\f8\fnil\fcharset162 Times New Roman Tur;}{\f9\fnil\fcharset177 Times New Roman (Hebrew);}{\f10\fnil\fcharset178 Times New Roman (Arabic);}{\f11\fnil\fcharset186 Times New Roman Baltic;}{\f12\fnil\fcharset163 Times New Roman (Vietnamese);}{\f13\fnil\fcharset238 Arial CE;}{\f14\fnil\fcharset204 Arial Cyr;}{\f15\fnil\fcharset161 Arial Greek;}{\f16\fnil\fcharset162 Arial Tur;}{\f17\fnil\fcharset177 Arial (Hebrew);}{\f18\fnil\fcharset178 Arial (Arabic);}{\f19\fnil\fcharset186 Arial Baltic;}{\f20\fnil\fcharset163 Arial (Vietnamese);}{\f21\fnil\fcharset0 Lucida Sans Unicode;}}{\colortbl\red0\green0\blue0;\red255\green0\blue0;\red0\green128\blue0;\red0\green0\blue255;\red255\green255\blue0;\red255\green0\blue255;\red128\green0\blue128;\red128\green0\blue0;\red0\green255\blue0;\red0\green255\blue255;\red0\green128\blue128;\red0\green0\blue128;\red255\green255\blue255;\red192\green192\blue192;\red128\green128\blue128;\red0\green0\blue0;}\wpprheadfoot1\paperw11906\paperh16838\margl0\margr0\margt10\margb0\margh720\margf720{\*\pnseclvl1\pnucrm\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}
{\*\pnseclvl2\pnucltr\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}
{\*\pnseclvl3\pndec\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{.}}}
{\*\pnseclvl4\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb}{\pntxta{)}}}
{\*\pnseclvl5\pndec\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}
{\*\pnseclvl6\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}
{\*\pnseclvl7\pnlcrm\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}
{\*\pnseclvl8\pnlcltr\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}
{\*\pnseclvl9\pndec\pnstart1\pnhang\pnindent720{\pntxtb{(}}{\pntxta{)}}}
\endnhere\sectdefaultcl{\header \pard{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs24\cf0 \par
}{\*\wptable\tblleft2000 Tab1}{\pard\trowd\trgaph0\trleft2000\cellx5302\cellx8604\cellx11906\intbl{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs24\cf0 \cell}
\intbl{\qc\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs24\cf0 \line \line \line \line \cell}
\intbl{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs24\cf0 \cell}\row
}\pard{\ql\li0\fi0\ri0\sb0\sl\sa0 \plain\f0\fs24\cf0 }}
{\footer \pard{\ql\li1000\fi0\ri0\sb0\sl\sa0 \plain\f0\fs24\cf0 }}...
So if anyone knows any way to extract this data in C # would much grateful.I would more much grateful if you do the conversion of this field to a word document.
|
|
|
|
|
It looks, feels and smells like a string containing RTF codes; why wouldn't you just get it like any other string field and either assign it to a RichTextBox.Rtf, or write it to a file (preferably with extension .rtf)?
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Hi,
I have to shift my database from Sql Server Management Studio 2008 to MsAccess 2007 database.
SSMS is not supporting .accdb extention (asking for .mdb extention) whereas my Access has .accdb extention.
How can i export the database?
Any procedure to convert from .mdb to .accdb in SSMS or .accdb to .mdb in Access.
After googling a lot i tried creating DNS (i don't know its purpose), but is not working.
Thanks in advance.
modified on Monday, September 21, 2009 1:27 PM
|
|
|
|
|
* Go to the object explorer (from the menu "View", "Object Explorer")
* Go to the "database" node of the treeview and select your database.
* Right-click the node and select the item "Tasks" and from there the subitem "Export Data".
* Click next, and select the database from SQL Server that you want to export from.
* Click next, and select "Microsoft Access" as your destination. You'll probably need an existing database.
* Follow the wizard until finished with exporting
I are Troll
|
|
|
|
|
Hi all,
I would like to generate MAC addresses between a certain range in a stored procedure. The MAC addresses needed to be stored in a table.
Any ideas? Suggestions?
I need something like below
DECLARE @Max_MAC BINARY(8)
DECLARE @StartRange BINARY(8)
DECLARE @EndRange BINARY(8)
DECLARE @MAC_Address BINARY(8)
SET @StartRange = 0x00000004A500114B
SET @EndRange = 0x00000004A50F11FF
SELECT @Max_MAC = MAX(MAC_Address)
FROM MAC_Address
IF (@Max_Mac >= @StartRange and @Max_Mac < @EndRange)
begin
@Max_Mac = generate a higher macaddress
INSERT INTO MAC_Address(MAC_Address,Timestamp) VALUES (@MAX_MAC, getdate())
END
I do not know how I can count a number more to the MAcAdress I would like to become to a table with macadresses like
0x00000004A500114B
0x00000004A500114C
0x00000004A500114D
...
Thanks in advance
Tom Denys
|
|
|
|
|
Mac address is the primary address of a Network Interface that uniquely identifies a PC.
why you need to generate MAC Addresses ?
If you need to generate unique id why not you use GUID s ...
|
|
|
|
|
I need to generate Mac address because we Program a Mac address in different kind of PCB's (like network cards) We want to trace the Mac address that we program in the PCB's. We get difefrent ranges that we use for that.
|
|
|
|
|
Hi,
Mac addresses are 8-byte (unsigned) numbers that typically get shown in hex with or without dashes in between bytes. You could hold their numeric value in a System.UInt64 (for .NET programming languages), show them with ToString("X16"), and handle them as NUMERIC in SQL according to this[^].
I think that beats the alternative of handling them as strings, since then you would have to implement some code to "hex increment" a string...
BTW: I would rather not have to store a range of MAC addresses, unless I were a manufacturer of network equipment that is.
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
how to connect sql to java netbeans6.7 for validating user detail .................
|
|
|
|
|
Is it Related to Database
|
|
|
|
|
Hi,
Actually i want rows in the table in an order. How can i force the tables to keep that order? is there any command for that. Actually i am inserting the data row from asp.net front end.
|
|
|
|