Viewing 15 posts - 1 through 15 (of 32 total)
Thanks been trying visio but it does not graphicly display the relationships correctly(arrows are the wrong way and not connected to actual fields just the table box). I thinks...
September 25, 2008 at 10:58 am
That's what I thought as well... So except for where exact reporting is required, if you do your job right on the SQL syntax and DB design a NOLOCK...
September 4, 2008 at 1:54 pm
select into will create a new table.. (or bomb if you already have that table name used)
INSERT INTO however is what you are looking for
September 4, 2008 at 10:30 am
I may be dumb here. But if you pull up the table in Mangement Studio.. Click Design.. You can then add any column in any position that...
September 4, 2008 at 10:24 am
GilaMonster (9/4/2008)
September 4, 2008 at 10:08 am
Any chance you can do your grid by hand (using the data provided) so that I can see exactly what you are hoping to see.
...
September 4, 2008 at 10:02 am
Intersting...
From what I have seen sometimes (yet rare) calling out the actual index has had a marked improvement on the execution time.
But except for your "dirty read" comment (which is...
September 4, 2008 at 9:44 am
Have some ideas... Can you provide a small data extraction from both tables to test.
September 4, 2008 at 9:06 am
Can you please provide the following....
table structure
a_mon
a_ereig
Small Data Extract from both tables....
Thank you
September 4, 2008 at 9:00 am
From the looks of it you should be getting multiple pat_nr with your query... Clean up your code a bit....
You are assigning values to @start and @end from another...
September 3, 2008 at 4:18 pm
I am pretty sure that I have full permissions to this server but I get the following error from your script
Msg 297, Level 16, State 12, Line 1
The user does...
September 3, 2008 at 3:57 pm
Sorry guys... no need for this one....
http://www.sqlservercentral.com/Forums/Topic159058-8-1.aspx?Highlight=row+size
Don't know why I could not find it before.....
September 3, 2008 at 3:36 pm
no problem thats what this site is for.
September 3, 2008 at 1:26 pm
GilaMonster (9/3/2008)
First thing is that there's absolutely no need for the temp table. Just do the select straight with the order by included.
Good catch, Gila, completly went right over that...
September 3, 2008 at 1:24 pm
Couple of things that can help to speed it up....
Declare the GETDATE() as a variable and call it out... Helps with processing time.
Add "WITH (NOLOCK)" to each and every...
September 3, 2008 at 1:18 pm
Viewing 15 posts - 1 through 15 (of 32 total)