Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

looking for book    using C for SQL maintenance

Posted on 1998-07-21
2
Medium Priority
?
244 Views
Last Modified: 2010-03-19
I have to create some scheduled tasks for database maintenance.
I'm looking for a book with lots of example C code for interacting with SQL Server.
I have the Microsoft ODBC Programmer's Reference already, I would like something with lots of complete examples.   I don't mind spending the boss' money
0
Comment
Question by:jnearing
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
jbiswas earned 300 total points
ID: 1091803
Doing database maintenance work with C is kinda cumbersome. I have worked in this field long enough and have not come across anything which discusses similar things. I have a suggestion though..why don't you try using Perl instead. It is a very easy language to learn and it is very easy to do DBA kinda work with Perl. In case you are not doing anything fancy I might even be able to give you some scripts.
Jit
0
 
LVL 1

Author Comment

by:jnearing
ID: 1091804
What I need to do isn't very complicated SQL wise, but a little to big to fit in an ISQL statement in the scheduled task mgr.

Typical of what I want to do is join a couple tables, select certain records that need be moved to another table.

I wouldn't mind doing it in Perl if that's the path of least resistance but I need to get it working sometime yesterday.

If you can, send me something along the lines above, it has to be able to run as a CmdExec in the task scheduler.

You'll notice that I spelled Perl correctly, that's about the extent of my knowledge.   I think I have a book at home though.

thanks

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question