Viewing 15 posts - 271 through 285 (of 5,503 total)
duplicate post. No replies please.
Please use the original post
December 28, 2013 at 3:35 am
I strongly vote for using a stored procedure instead of the direct Insert.
There are numerous reasons, one of them is to separate the database structure from the application layer. A...
December 28, 2013 at 3:33 am
You might also want to have a look into the OUTPUT clause.
This would help to avoid the additional SELECT to get the related Poll_ID.
December 28, 2013 at 3:27 am
To me it sounds like a combination of paging and catch-all-queries.
Therefore, a combination of Gails catch-all article[/url] together with Pauls Optimising Server-Side Paging[/url] should get you startet.
December 18, 2013 at 12:18 am
Based on your description
I need to iterate a result set, do some simple processing on it and then write that processed data to a file or even a database.
I'm...
December 16, 2013 at 11:44 am
Why not doing all the data manipulation inside the database?
December 16, 2013 at 11:20 am
can you provide a test scenario so we can better understand what you're trying to do?
December 15, 2013 at 10:27 am
As to my knowledge you cannot overrule each and every situation where SQL Server need to recompile a sproc.
There are numerous situations where SQL Server may "decide" to recompile a...
December 15, 2013 at 8:25 am
The answer is rather simple: it depends.
If there's a dedicated report server doing nothing but providing reports and there's a business oriented security model implemented (e.g. all reports are based...
December 15, 2013 at 8:18 am
December 15, 2013 at 8:11 am
You're talking about a proxy account being local admin on the machine holding the file.
So I'd guess you're talking about a SQL agent job. Or am I missing something?
Is it...
December 15, 2013 at 8:06 am
yuvipoy (12/14/2013)
...where he can scroll through the records of 1 million rows... .
[sarcasm ON]
If the company can afford to pay someone to scroll through one million rows, they'll definitely have...
December 15, 2013 at 7:55 am
What you've described so far is HOW you do your corrent task. But not, WHAT this task really is.
If you'd describe the task you're faced with, we might be able...
December 15, 2013 at 7:42 am
"It's not working" doesn't really help us to help you in any way.
What's the exact error message you receive?
December 15, 2013 at 7:38 am
If you need to know the auto-generated identity value of the rows that has been added you could use the OUTPUT clause within your first INSERT statement together with the...
December 5, 2013 at 11:51 am
Viewing 15 posts - 271 through 285 (of 5,503 total)