Can I create a job to call a stored procedure everyday? If yes, how to do it?
View Complete Post
we are creating a custom report tool, which could be used for generate the report as per end user's needs. In that we are providing an option as user could create a query and procedure as well.
In sql server we can use "EXEC" function for execute dynamic query.
Could anyone help me for create the dynamic query in Oracle?
I just tried with "execute immediate", which would throws error as
Please help me.
Please help me.
I have a C# web page that calls a stored procedure. The page passes few parameters to the stored procedure and call it. The stored procedure does so many time consuming tasks on a huge number of database records but does not return any value.
Since the page is not expecting any return from the stored procedure, I want to execute the stored procedure asyncronously so that the user can continue working on the web page and other web pages while the stored procedure is running in the background. Also, I do not want the web server processes to be busy with the running stored procedure.
Any help, please.
here i have 3 attributes i want to write a sp it should take 1input value by tht i get remaining 2out put values
table name: Employee
help me in this....
if this exected i should get succecss msg also and boolen is true...
flase and not exectuted msg...
I have a devil of an intermittent problem that I have so far found nothing to help me solve.
I have a web application/module in Dotnetnuke that requires data for a simple form from another SQL server DB on a different server. The app uses a connection string in the web.config like this:
<add name="CompanyUpdate" connectionString="Data Source=mail.mydatabase.be;Initial Catalog=MA_Online;Persist Security Info=True;User ID=Gus;Password=xxxxxx" providerName="System.Data.SqlClient" />
The application calls a stored proc and most of the time data is returned as expected. There should always be a row returned from the SP. However, if the form is idle for a while or the module has only just loaded the call to the stored proc returns
as empty recordset. A 'table not found' error occurs.
There is no connection issue otherwise there would be a connection error instead of an empty recordset right?. But I cannot work out why sometimes no data is returned. I can go onto the server and run management studio and run the sp over and again and always
I don't have control over the target DB but the person who does thinks it's something to do with connection pooling. I tried turning this off in the connection string and found that I got an empty recordset every time the sp was called wit
I am new in SQL Server.Currently I am using SQL Server 2008.
I have to create a stored procedure that will take different files like .csv,.txt and create a table in my database.
At a single time i am using only one file like .csv,.txt.
Here I am generating a XML file which contains script to create table and how to map data into table.
Here we are using XML as a middle man which gives us idea about file structure and how to map data into table.
Can any one guide me how can i do this thing?
Thanks & Regards
I have a lot of different files like .csv,.txt files.
I have to create a stored procedure that will take these different files and create a table in my database.
At a single time i am using only one type of file like it may be .csv or may be .txt.
I am creating a XML file which contains script of Create Table and how to map table in sql server?
Here XML is working as middle man.
Can any one guide me how can i do this things?
Thanks & Regards,
Hi friends ,
I am very newbie
I have created stored procedure and student database and also asp.net application for asp.net page
but it could not found stored procedure what is the mistake actually I don't no
Please help me
Please let me know how to create a batch file with some content in it, using a stored procedure in SQL 2000.
Thanks in advance.
I have a Report, that I want to run ad-hoc from a Stored Procedure.
I want to render this report to PDF format, and save it to a drive.
The difference between this post and most threads I've seen is I don't want to run a stored proc within the report and send parameters to the stored proc.
I DO want to call a report FROM the stored proc, and send parameters TO the report.
How can I do this?
Is it possible to use a stored procedure to create a bunch of other stored procedures? When the user creates a new database, I need to create a bunch of stored procedures and I would like to just run a stored procedure on the new database that creates
all the needed stored procedures. I tried just putting the CREATE PROCEDURE syntax inside a stored procedure and got some errors. I imagine this can be done using dynamic sql and the EXECUTE function but I was hoping there was a better way.