Viewing 15 posts - 2,956 through 2,970 (of 6,486 total)
Five-way crosspost. Please do NOT cross-post.
Conversation should continue over here:
http://www.sqlservercentral.com/Forums/Topic516072-361-1.aspx
June 12, 2008 at 11:35 am
Grant Fritchey (6/12/2008)
Unless there's a pretty major application or performance reason, I'd have to agree that this is a crappy "real world" example.
Not fully understanding the background on how that...
June 12, 2008 at 11:31 am
Guillermo -
Like Grant mentioned - SQL Server Management Suite is not to be used as a front-end for end-users doing data entry.
A few options for you:
1. use Access....
June 12, 2008 at 11:28 am
Have you tried the sys.dm_exec_query_plan function? mine doesn't seem to put that annoying notation at the top as to it being unicode.
The other options return the showplan in one...
June 12, 2008 at 11:19 am
K. Brian Kelley (6/12/2008)
Matt Miller (6/12/2008)
June 12, 2008 at 9:20 am
Pino -
I didn't describe the saving of the exec plan very well. In SSMS, when you're viewing the actual exec plan, right-click on the exc plan pane (not...
June 12, 2008 at 8:36 am
Indianrock (6/12/2008)
June 12, 2008 at 7:59 am
All right - here's my entry, with some data to test it with:
--test data
declare @date datetime
set @date='01/01/2008';
select top 500 @date+n as date
into #tblDate
from tally
where n<501
--last sunday of the month calc....
June 12, 2008 at 7:30 am
Also - DDL = data definition language. Lynn was asking you to include the index definitions in the "create table scripts" (that's one of those options you can set...
June 11, 2008 at 10:03 pm
pino -
below the main reply area - there's a "post options" section. In there is a button called "edit attachments". Click that to add files.
Most folks tend...
June 11, 2008 at 9:41 pm
Have you checked out parameter sniffing? I'm kind of inline with what Grant was getting at, where it made some bad choices based on the new stats. There was...
June 11, 2008 at 2:58 pm
John Rowan (6/11/2008)
June 11, 2008 at 2:50 pm
hehe...I see Barry has better recollection than I as to why the @whereand parameter doesn't work. And - he types faster too!:D
June 11, 2008 at 2:46 pm
Michael (6/11/2008)
exec sp_MSforeachtable@command1 = 'DELETE FROM ? ',
@whereand = '(TSTAMP < ''2007-01-01 00:00:00'')'
Results the same:
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'TSTAMP'.
hmm - something...
June 11, 2008 at 12:22 pm
You're right - that is a good definition. That's kind of what I was getting out of it. Of course - the second thought was - "gee -...
June 11, 2008 at 11:59 am
Viewing 15 posts - 2,956 through 2,970 (of 6,486 total)