|
If I understood the question correctly, why not simply take a backup from local system and restore it to hosting server.
The need to optimize rises from a bad design.
My articles[ ^]
|
|
|
|
|
Thanks for your Reply.
I have taken backup for my database but how can we restore it to hosting server. Please can you tell me the steps to restore the database to Web hosting server.
|
|
|
|
|
|
Hi,
I followed that article, now i can restore it into my local system.But i am not getting how to import it to Web hosting server.Please tell me clearly.
|
|
|
|
|
I don't understand your question.
If you can restore the database to you local host, take the backup files to another server and do the same restore operation on that server.
The need to optimize rises from a bad design.
My articles[ ^]
|
|
|
|
|
hi,
I am developing advertising website.whenever I am getting impression that time i am geeting timeout expired error is comming because at a time somany impressions are comming..here I am using stored procedure..if anybody knows for improve this performance...please reply me...
Thanks.
Raaj
|
|
|
|
|
You need to look at your indices amongst other things. Try using the Actual Execution Plan in Query Analyser to identify where there are problems and take it from there.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
sometimes I am getting impression....sometimes timeout expired..
Raaj
|
|
|
|
|
index will help with this issue?
Raaj
|
|
|
|
|
r aa j wrote: sometimes I am getting impression....sometimes timeout expired..
So you need to understand where your query is taking too long. Check the execution plan as I said. Nobody can do it for you, and nobody can guess whats wrong - except its probably index related.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
please tell me how can we check the execution plan.
Raaj
|
|
|
|
|
Run your stored proc in query analyser, check the Query menu options to turn on Include Actual Execution Plan.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I done that Execution plan.actually that storedprocedure contains 7 queries....for that execution plan its display query cost one 8% ,another 23% etc....
please can u tell me how we can identify
Raaj
|
|
|
|
|
Its at this point you need to consult the help. Once you understand what the execution plan is telling you it will enable you to make the necessary changes. You can try taking the individual queries and putting them into the "Analyse Query In Database Tuning Advisor" Query menu item. This will give you some hints at what could be done.
Alternativley you could hire someone who understands sql server performance tuning.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
thanks for ur suggestion....
thanks alot
Raaj
|
|
|
|
|
You're welcome. Performance tuning is a complex topic - some would say its more of a black art than science!
Bob
Ashfield Consultants Ltd
|
|
|
|
|
That's true, although I've considered it more like playing chess. Next time I go out consulting this area, I'll take my magic wand with me. It'll make an impression (at least somekind...)
The need to optimize rises from a bad design.
My articles[ ^]
|
|
|
|
|
Hi
Help me.
- Use Visual Studio 2005
- As programming language, use C#
Merge SQLite data with HTML template. This action should be done using one 'Merge' button click.
Show merged document in webbrowser.
Save merged document to PDF.
- Merger
Replaces '##[fieldname]##' in the HTML template document with data from the corresponding
column of the SQLite table.
Create one new page in the document for each record in the SQLite table.
Thank you.
Regards,
Och-Erdene
|
|
|
|
|
So what is your problem - all I see is a homework question.
Also you should read the guidlines for posting your title is not acceptable.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi,
Can somebody guide me on reading a password protected excel file with c#.net?
I am using VS2005, Excel 2003/2007 (? Does it make difference?)
Appreciate your help.
Thanks
Sunitha
|
|
|
|
|
One way to do that is to use Excel interop from C#. Refer to: Workbook Members (2003 System)[^].
Note, this question isn't exactly about databases so perhaps a better forum would have been for example C#[^]
The need to optimize rises from a bad design.
My articles[ ^]
|
|
|
|
|
Get the password from those who protected the worksheet/workbook.
The world is a stage and most of us are desperately unrehearsed.
—Sean O’Casey, Playwright
|
|
|
|
|
Came across this artcile[^] (ROW_NUMBER)
But this is sql specific, while great help I think - if I were to use Sybase then this is not relevant. Is there anything from ADO.NET 2/3 by now? Or do we still need to implement it ourselves?
Reading up on NHibernate[^] - even they have paging facility.
Thanks
dev
|
|
|
|
|
|
Good stuff! - I think this is paging facilitated by ADO.NET (although DataAdapter only, won't help with say IDbCommand+ExecuteReader situation)
<br />
int currentIndex = 0;<br />
int pageSize = 5;<br />
<br />
string orderSQL = "SELECT * FROM Orders ORDER BY OrderID";<br />
SqlDataAdapter adapter = new SqlDataAdapter(orderSQL, connection);<br />
<br />
DataSet dataSet = new DataSet();<br />
adapter.Fill(dataSet, currentIndex, pageSize, "Orders");<br />
Have gone back in time and been doing MFC for two years - when was thsi available in dotnet I don't remember seeing it?
Thanks!
dev
|
|
|
|