Showing posts with label beginner. Show all posts
Showing posts with label beginner. Show all posts

Thursday, March 8, 2012

Absolute Newbie Question

Hi guys! I'm a complete beginner of this and have just started learning scripting recently therefore I hope anyone here could give me some help.

Basically this is what I've done already, I have an ASP form here for user to fill in, then a confirm page (displaying the form data) is shown when the user's submitted the form.

Now, the next step I'd like to do is to store those data into a database (MS SQL Server 2000) when the user hits the confirm button in the confirm page. Since I've no experience of using SQL Server or doing anything like this before, can anyone please kindly tell me where to get started or where to find some good examples/tutorials?

Thanks very much in advance!Hai friend

Usw this tutorial this is helpfull for your asp mysql intgration

http://tutorials.programmingsite.co.uk/aspmysql.php

Absolute Beginner Questions

I just downloaded and installed Visual Basic Express Edition and SQL Server Express Edition. All I have in the Start menu is SQL Configuration Tools. My absolutely stupid question is, how do I get started with this?

I know a little bit about SQL from using SQL command line in Oracle, and I've built small databases before using Access. Where does this program fit into all of that? And what do I use and how can I get started with this program?
Hi there,
What you've probably installed is only the database engine and probably the command line utilities. You could connect and work with your databases via the command line but it's easier doing it via a GUI. Couple of options:
A) You can download SQL Server Management Studio Express Edition here:
http://msdn.microsoft.com/vstudio/express/sql/download/
This'll give you a GUI where you can connect to the database server (which you have installed already) and you can work with and create databases in it.
B) It is also possible to create and work with your database using Visual Basic Express Edition. Generally you'll create a project first (e.g. a Windows Application) and then you'd create a database for your project. The steps are:

1) In the Solution Explorer right click on the name of the solution and select Add > New Item from the menu that appears
2) The "Add New Item" window will appear. In this window select the "SQL Database" template. Change the name of the database's .mdf file to whatever you prefer.
Click "Next>" after doing the above
3) Select whatever database objects you want in your dataset (I select everything that's available but it does depend on what you want). Click the "Finish" button
After doing all of this a database local to the project you are working with will be created. If you open up Database Explorer (View Menu > Database Explorer or View Menu > Other Windows > Database Explorer) you should see you database. You can then do things like create tables for your DB and make an application that connects to your database and does, well, stuff (sorry).

As for learning more about it, try reading some stuff at:
http://www.microsoft.com/sql/editions/express/default.mspx
http://msdn.microsoft.com/sql/express/
They should give you some overview of the product. The Developer Center (2nd link) might give you some ideas to get started in coding database apps with VB Express Edition.
There's also a white paper that might help get you going with Management Studio Express at:
http://download.microsoft.com/download/4/f/8/4f8f2dc9-a9a7-4b68-98cb-163482c95e0b/MgSQLExpwSSMSE.doc
Hope that helps a bit, but sorry if it doesn't

Absolute Beginner in SQL 2005 EE, needs help.

Hi everyone.

Using C# 2005 EE with SQL 2005 EE

I am really new to SQL, got qns here.

    Can my program with SQL database run correctly on another com using win xp home edition, with only C# 2005 EE installed?

    Is it compulsory for every table in a database to have a primary key?

    Can I extract a data from a specific cell in a database table(click button get data)? How do I go about doing it (the simplest n straight forward method)?

Many Thanks in advance.

Regards,

dragoncells.

Hi !

"Can my program with SQL database run correctly on another com using win xp home edition, with only C# 2005 EE installed?"

YOu compiled application (The actual exe you produce with compiling) will work on every computer which has the requisites installed that you need in your application (at leat the .NET Framework). If you using an installer instead of Xcopy deployment you can also package the prerequisites ensuring that the client will fullfill the requirements.

"Is it compulsory for every table in a database to have a primary key? "

Thats all about database design, primary keys will help you to keep unique integrity throught he database and integrity with the other tables using PK/FK relations. They help you (and behind the scenes the SQL Server) to create and retrieve data by a unique identitifer.

"Can I extract a data from a specific cell in a database table(click button get data)? How do I go about doing it (the simplest n straight forward method)?"

I am not quite sure what you mean, but from my understanding you want to retrieve an specific attribute (your cell) from a row in a table. Therefore you will have to create a SQL query like the following one:

SELECT YourAttributeName_Column FROM YourTable Where <filter the row out by specifying the condition like SOmeCOlumn = 'SomeValue'>


HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de

|||

Additionally info about me: I am also Absolute Beginner in C# 2005 EE.

when you wrote "YOu compiled application (The actual exe you produce with compiling) will work on every computer which has the requisites installed that you need in your application (at leat the .NET Framework). If you using an installer instead of Xcopy deployment you can also package the prerequisites ensuring that the client will fullfill the requirements."

I assume you are telling me that if my application has a SQL database than I must have SQL server 2005 EE installed on that computer for it to work.

And what do you mean by Xcopy deployment?

Installer? I thought when I publish the application it comes with the installer?

**Note**
I replied to Jens post(1:27pm) but it does show properly.

Edited: Backed to normal.

|||

dragoncells wrote:


I assume you are telling me that if my application has a SQL database than I must have SQL server 2005 EE installed on that computer for it to work.

You don′t need to have a SQL Server on the actual machine if you have another server in the network you want to connect to. Assuming that another server in the network act as a SQL Server you don′t have to install the SQL Server Express on the client machine.

"And what do you mean by Xcopy deployment?"
Xcopy deployment is possible because if the .NET framework is installed on the client machine no other things have to be registered like in the old days. YOu can just copy the application over (and also overwrite it with a newer version and it will work.

"Installer? I thought when I publish the application it comes with the installer?"
I don′t know which project type you are using. You will need an installer if you use components which do not easily install by just copying the files over, or if they have to be "installed" or copied in a different way.

HTH, Jens Suessmeyer.


http://www.sqlserver2005.de

|||

That means Xcopy deployment is obsolete nowadays.

Using C# 2005 EE, working on a windows application project. When I publish my application it does come with a installer automatically?

|||No and no as the answer :-)

"That means Xcopy deployment is obsolete nowadays."
Seems that my description was too fuzzy. It is absolutely nice that you can do Xcopy deployment. Assuming that you want to update your application or an assembly within the application you just have to copy it over. Thats often used instead of uninstalling the old version and installing a new one.

A Windows application does not come automatically with a installer project. You will have to add one and will have to add the output files of your project solution to the installer project.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de|||

Than what about the Publish properties, isn't it suppose to add a installer after I publish my application?

Does the forum have a suggestion area or something, so that microsoft can collect useful suggestions and try to improve the forums?

|||As being a moderator you can direct that directly to me. The thing with the quotes was fixed by me as it seems that the syntax I used is not supported by the forum.

-Jens.|||

It slipped my mind that you are the moderator, lol.

Suggestions:

Images: Currently cannot post picture, a picture tells a thousand words.|||

nice suggestions, thanks. as we are currently working on additional features for the forums, we will take these under consideration and prioritize as appropriate. should you have additional suggestions, please be sure to post them in our suggestions forum.

best,
brian -- forums product manager

|||

Ok.

=)

Monday, February 13, 2012

About Index And View

hi,i am a beginner, i want to know
what is the different between index and view?
in my option,i think they do one job:let the select quickly!index: http://www.odetocode.com/Articles/70.aspx

view: http://www.odetocode.com/Articles/299.aspx|||thank you for your kindly help!
but how to use index?
need write sql? or DBMS can AUTOEXE index that exist?

Saturday, February 11, 2012

About Drilling down and drilling up in kpi's

hi all,

I am just a beginner in proclarity

I am facing a problem with the drill down and drill up operations in KPIDesigner

I am using the first option in the wizzard(Add a KPI with goal,status,trend to an existing KPI)

The measure that i selected is an aggregate value(Average)

But whenever i am trying to perform a drill down operation on the Data there is no correspondance between the drill down operation and the data displayed.

Pls help me asap

I would guess the drillthough into calculated cell or member is not possible. It is simply the fact that Analysis Services wouldnt know how to get the rows that contributed to the calculation.

Edward Melomed.
--
This posting is provided "AS IS" with no warranties, and confers no rights.