SQL Database setup

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:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several