Nine Ways to Optimize SQL Server 6.5 Queries
What a difference an index can make! I received that reminder recently when I added an index and changed a query's runtime from 40 minutes to 12 seconds. Indexing, however, is only one tool in a DBA's performance-tuning toolkit. You can get better...
Hi
You can do import export using c or any other language,, using text files...
Its very simple using BCP
You can create Text files using BCP like this
from SP
u can use XP_CMDSHELL
and
bcp ajaydb..ltt_emp out c:\ltt_emp.txt -c -Usa -Psa -
SmyServer
same way you can import...
bcp...
I am using this way... And 100% it works
I have to take dynamic names too cos i was using BCP from SP
and i need to access these simultaneously on multiuser environment
So here is the CODE
select @xLtt_Log = '##'+@zLaptop_Name+@zEmployee_id+'_Ltt_Log'
select @xCtr = 0
select @xCtr =...
yes FUZZI is right. TTable is the Devil for all the Locks...:)
and also try avoiding the statement
Select * from myTable
....
still If u want to select all the records
then dont use *... put each field name one by one...
I have a known prob with delphi which i have experienced..
when u have...
Might be helpfull for you...
Delphi uses BDE for transactions with SQL Server.
So BDE is the main cause for locks...
BDE puts table level exclusive locks in SQL Server...
so when your applications locks up
then CHECK that is there any lock at the back end...
The other thing is that your BDE...
I have written a stored procedure which consists of 3000 or more lines....
Now it is in transaction... i want to rollback if any of my sql statement fails during the processing..
I want to commit only when my Stored procedure is complete
I am using @@Error variable to find out whether the...
yes, thats greate, i actually implement this in my SQL SERver 6.5 stored procedure...
create procedure usp_tst
(
@strpartnum varchar(10),
@sn1 int = null, -- optional, defaults to null
@sn2 int = null, -- optional, defaults to null
-- ... and so on
)
the other thing you would do is...
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.