September 26, 2007 at 4:56 am
I want to add a couple of rows in a table with 85 thousand plus rows already in it.
If I do Right clike --> New , then the system takes 10-15 minutes to scan through all the rows and then allows me to append a row at the end.
Any shortcut to reach to the end of the table without loosing time ?
September 26, 2007 at 5:24 am
Write INSERT statement in QA.
And many people find an idea of developing front-end applications for entering data quite brilliant.
Any clue why?
_____________
Code for TallyGenerator
September 26, 2007 at 5:45 am
It is just for experimental purpose, that I want to enter a couple of rows manually.
I know INSERT statement can do it, but I just want to do it manually through enterprise manager.
Wanna know if its possible to jump to the end of the table without loosing scanning time.
September 26, 2007 at 6:00 am
ckmoied ,
Sergiy is correct. Please do use INSERT statements. If you should find a need to use Enterprise Manager for appending new rows, you should be able to quickly write a basic .Net App to return the last few rows and allow you to add new rows to the respective table(s). The time it takes to develop such an App should not exceed the time, for Enterprise Manager to load the data prior to allowing you to append new rows, by much.
Example
1. Open Visual Studio -- 5 - 15 seconds
2. Create a new Web Page -- 5 - 15 seconds
3. Drag and drop SQLDataSource into page -- 5 - 15 seconds
4. Write Select Statement -- 5 - 15 seconds
5. Write Insert Statement -- 5 - 15 seconds
6. Drop a grid into page -- 5 - 15 seconds
** Note: Please convert Select Statement/Insert Statement into Stored Procedure when applicable.
There are a number of examples available on the web. A quick search should be able to guide you in the right direction.
Regards,
Wameng Vang
MCTS
September 26, 2007 at 6:21 am
Yes, it can be done pretty easily...
When you open the table in EM, instead of selecting all rows, tell it to select the TOP 1. Makes the "end" you're talking about real close... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2007 at 12:41 pm
Jeff Moden (9/26/2007)
Yes, it can be done pretty easily...When you open the table in EM, instead of selecting all rows, tell it to select the TOP 1. Makes the "end" you're talking about real close... 😉
the problem with that is that you specify Top 1 but no Order By so you really don't know what the heck is brough back. I know that it shouldn't matter anyway because the Poster just wanted to enter data but being explicit could help in this case 😉
All against EM use for Data Entry raise your hand .... 😀
* Noel
September 27, 2007 at 1:04 am
noeld (9/26/2007)
All against EM use for Data Entry raise your hand .... 😀
I'm unsubscribing from this topic. If everybody who is against using EM for data entry posts here, my mailbox will burst 😛
Anyway, my hand is raised!
September 27, 2007 at 2:06 am
Ok guys
Jeff's idea worked for me.
Nice discussion
Thanks
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply