SQL Database setup

Question:
I am writing a CGI program to query an SQL database for a client’s information. I will then create a Microsoft Access database from this querry to pass to a requesting customer.

The company that wrote the program that uses the SQL database will give me only the login name and password for the database. How do I find out what tables, record fields, indexes, and so on, exit in the database? I have a lot of code ready for my project, but I lack the SQL knowledge to querry the database.I have read several books on sql and none of them give me enough information to find out how the database is structrued.Brian

Answer:
Microsoft has appropriately named its help function sp_help. This will give you a listing of every object in the database. To get more information about a particular table you can then say sp_help table_name.There are many other such helpful stored procedures. You can easily find a list of them in the SQL Server Online Books.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

homes in the real estate industry

Exploring the Latest Tech Trends Impacting the Real Estate Industry

The real estate industry is changing thanks to the newest technological advancements. These new developments — from blockchain and AI to virtual reality and 3D printing — are poised to change how we buy and sell homes. Real estate brokers, buyers, sellers, wholesale real estate professionals, fix and flippers, and beyond may

man on floor with data

DevX Quick Guide to Data Ingestion

One of the biggest trends of the 21st century is the massive surge in internet usage. With major innovations such as smart technology, social media, and online shopping sites, the internet has become an essential part of everyday life for a large portion of the population. Due to this internet

payment via phone

7 Ways Technology Has Changed Traditional Payments

In today’s digital world, technology has changed how we make payments. From contactless cards to mobile wallets, it’s now easier to pay for goods and services without carrying cash or using a checkbook. This article will look at seven of the most significant ways technology has transformed traditional payment methods.