Solved

looking for book    using C for SQL maintenance

Posted on 1998-07-21
2
236 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
2 Comments
 
LVL 2

Accepted Solution

by:
jbiswas earned 100 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now