Viewing 15 posts - 8,581 through 8,595 (of 26,490 total)
So, in essence, given @SerNum1 (let us call it A) and @SerNum2 (call it B) you want to insert @SerNum2 with all the values of @SerNum1. Is this correct?
March 7, 2013 at 9:47 am
ScottPletcher (3/7/2013)
Getting the job is good, but it's just the start.
Dedicate yourself...
March 7, 2013 at 9:35 am
wolfkillj (3/7/2013)
Lynn Pettis (3/7/2013)
Sean Lange (3/7/2013)
Lynn Pettis (3/6/2013)
March 7, 2013 at 9:23 am
Sean Lange (3/7/2013)
Lynn Pettis (3/7/2013)
Sean Lange (3/7/2013)
Lynn Pettis (3/6/2013)
March 7, 2013 at 8:56 am
kapfundestanley (3/7/2013)
The problem is the database is an recovery state(and it is inaccessible).
That means something happened on the server resulting in SQL Server restarting. You need to find out...
March 7, 2013 at 8:36 am
Sean Lange (3/7/2013)
Lynn Pettis (3/6/2013)
Well, I've...
March 7, 2013 at 8:31 am
aakash214 (3/7/2013)
I have a procedure which has a code something like
My SP is dynamic something like
WHILE(@i <= @max-2)
BEGIN
SELECT @db_name = db_name,...
March 7, 2013 at 6:33 am
karthik M (3/7/2013)
I have a table with 5 rows.100
5
232
534453
23
No index has been created.
If I use ORDER BY , which alogirthm is used to do this sort operation?
5
23
100
232
534453
Again, why? It...
March 7, 2013 at 5:54 am
alan_lynch (3/7/2013)
I have had a look at your merge statement which has been useful the only thing is i have one error from the query...
March 7, 2013 at 5:52 am
kapfundestanley (3/7/2013)
March 7, 2013 at 5:41 am
Brad Marsh (3/7/2013)
So all of this data I have is created by customers, and because of that...
March 7, 2013 at 5:39 am
Or this one: http://www.sqlservercentral.com/articles/T-SQL/67898/.
March 6, 2013 at 10:19 pm
Really?? You have to be kidding.
March 6, 2013 at 10:16 pm
Here is my suggestion. Drop the table variables in favor of properly indexed temporary tables. Let us know how it works.
March 6, 2013 at 10:12 pm
Does this get you started?
with TopDates as (
select top (100)
MyDates
from
dbo.MyTable
order by
MyDates desc
)
select min(MyDates) from TopDates;
March 6, 2013 at 10:04 pm
Viewing 15 posts - 8,581 through 8,595 (of 26,490 total)