Good question? Are you doing this from an application development perspective or running it from query analyzer. If it is from query analyzer you can just save the results of your query as a csv or txt file when you run the query (click in the results pane and click File, Save).
From an...
You can transfer your database to another server using 1 of two ways
1) SQL scripts - and create the database on the user server
2) Use sp_detach_db stored procedure to detach your database from your server and use sp_attach_db stored procedure to attach it to the user server.
Change this line:
set @error_result = EXEC @myproc1
to:
exec @error_result = @myproc1
then do a select on the @error_result:
select ' error code ',@error_result
This will do the trick.
You can do it two ways.
1) Create a command object in ado, create the parameters for the command object, get the resultset (with a recordset) and bind the recordset to the data report. First create the report with the specific fields in the report textbox object and type in the field names in...
I assume the activeX control you're talking about is the datatimepicker. If so you can get the date value by using VALUE. Form1.DataTimePicker1.Value will give you the value of that ocx control. Or try using the month, year, day, dayofweek, hour, minute and seconds properties to help you out.
I...
Have you considered using a hierachical recordset. It takes care of your problem more efficiently. You can get the recordset from the server as a connectionless recordset; update the records on the fly and when done you can send the recordset to the server and commit changes using updatebatch...
To copy and move files use the File::Copy module that has the copy and move modules.<br>i.e.<br><br>use File::Copy;<br>copy("file.txt","file2.txt");<br>move("file2.txt","..");<br><br>To delete a file use unlink function.<br>i.e.<br>print 'Deleted '...
jimmyclams<br>
<br>
Another way of doing this is to create a Sub Main procedure in a general module attached to your project. In it you may show the splash screen (FromName.Show) and while it is being displayed you can do other operations like opening a database or something you would like to do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.