home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 3100
Discussions: 188,375, Posts: 2,243,441, Members: 232,603
Old November 7th, 2002, 04:24 AM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Sep 2002
Posts: 11
Question
SQL Help!!!!!

i have ms sql installed on my win 2k server and i am trying to set up the database on it i have created all the tables and set up logins but i can't find where to enter the data into? someone please help

Craisx is offline   Reply With Quote
Old November 7th, 2002, 06:34 AM     #2 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 21,017
ok if you want to enter the data like a spreadsheet and you have the tables created. You can right click on the table you want to enter data into and choose "Open Table" .. this will give you a spreadsheet type view.

OR another way... is to write up a sql script
-- this method requires inserting data for all columns...
INSERT INTO <tablename>
VALUES
(value1, value2, value3)


-- this method inserts data into the selected columns, but the columsn not mentioned but me nullable
INSERT INTO <tablename>
(column1, column2, column3)
VALUES
(data1, data2, data3)


OR... if you have an existing spreadsheet out on a network or a drive, you can use DTS to extract the data...
lots of ways to do it ...
OR you couild write an application that does it from a form...
Oh btw, for using SQL code the easiest way to run it is from Query Analyzer.

vass0922 is online now   Reply With Quote
Old November 7th, 2002, 02:34 PM     #3 (permalink)
Junior Member
 
Join Date: Sep 2002
Posts: 11
okay data entered

how do i search for the information that i just entered?

Craisx is offline   Reply With Quote
Old November 7th, 2002, 08:16 PM     #4 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 21,017
it depends on what you're doing...
It sounds like you need to learn some SQL

here's a sql tutorial...
again you use it with the query analyzer.
http://sqlcourse.com/intro.html
vass0922 is online now   Reply With Quote
Old November 8th, 2002, 12:56 AM     #5 (permalink)
Junior Member
 
Join Date: Sep 2002
Posts: 11
thank you alot i read the learning sql server 2000 but it didn't help me much
Craisx is offline   Reply With Quote
Old November 8th, 2002, 01:01 AM     #6 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 21,017
My dilemna is, I can't tell you how to search for the data because I dont know your data.
You will start out with a select statement

select *
from <tablename>

then from there you can add a where clause

select *
from <tablename>
where <columnname> = 'some data'
just have to play around with it
vass0922 is online now   Reply With Quote
Old November 8th, 2002, 01:05 AM     #7 (permalink)
Kawaru wa yo!
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 16,132
Blog Entries: 7
<- Hates SQL.

SELECT * FROM 'Good Databases' Where 'Database Name' = 'Oracle9i Spatial'
Whir is offline   Reply With Quote
Old November 8th, 2002, 01:20 AM     #8 (permalink)
Ultimate Member
 
Join Date: Oct 2001
Posts: 21,017
I actually like SQL
course maybe that says something about me
vass0922 is online now   Reply With Quote
Old November 8th, 2002, 04:23 PM     #9 (permalink)
Junior Member
 
Join Date: Sep 2002
Posts: 11
Smile
sql web site

i now need to set up a web site to display information entered does anyone have a link to tutorial's or know how to do it?
Craisx is offline   Reply With Quote
Old November 22nd, 2002, 03:59 AM     #10 (permalink)
Member
 
Join Date: Sep 2002
Posts: 364
If you have MS Frontpage, the asp help for ata access is fairly decent.
Creosote is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Most Active Discussions
Is It Just Me? (2881)
The United States Debt (20)
Looks like Burris will get his Sena.. (7)
I think I just killed my computer w.. (24)
Upgrading RAM (5)
Folderchat Weekday thread (438)
Antec 300 bulk purchase? (11)
Worth the upgrade?? (14)
Titan quest and Immortal Throne, an.. (17)
Recent Discussions
Folderchat Weekday thread (438)
Help with an Ati Radeon HD 4850.. (23)
Laptop waking up itself (0)
CPU wont boot (3)
Best digital camera for under 2.. (13)
Building first computer, will t.. (2)
get this error, "res://C:\.. (73)
Problem with boot and motherboa.. (0)
MS to offer free Windows 7 upgr.. (1)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 07:46 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28