Viewing 15 posts - 316 through 330 (of 684 total)
Hi.
A primary key uniquely identifies a row within a table and as such you are only allowed one primary key. In relational theory there can only be one key...
March 19, 2008 at 2:49 am
If you're not on the latest service pack then the reports are viewable from the summary tab in ssms. Select the summary tab, select a database and then the...
March 18, 2008 at 9:44 am
Gerald,
You seem to be along the right track.
Looking at the innner query (the one with the case statement) that looks spot on except for the syntax at the beginning, where...
March 18, 2008 at 9:37 am
Todd Biggins (3/18/2008)
Oh my gosh, that's embarassing. I didn't even think about just pre-processing the columns before hitting the report. I really appreciate your response--it will help tremendously.
No...
March 18, 2008 at 9:12 am
I should point out that my method will not return correct results for tables with XML indexes or full text indexes, whereas Adam's method will return correct results. But...
March 18, 2008 at 8:44 am
jagpalsingh4 (3/18/2008)
Hi,How can we see all tables names and size of tables in (mb ) from database with query .
thaxxx
regards
jagpal singh
Try this - results are in kb:
select...
March 18, 2008 at 8:32 am
Hi Todd,
I do it pretty much through SQL can't say that that's the best method though but it works for me. I create a couple of temp tables in...
March 18, 2008 at 8:03 am
Edward,
Unfortunately you cannot specify a new fill factor for an index during a defrag operation. You'd need to to a rebuild for that.
March 18, 2008 at 7:45 am
Hi Dan,
It doesn't make a difference which order the where clause is written in. So as long as it's logically the same you're ok.
March 18, 2008 at 7:43 am
Balakrishnan K (3/18/2008)
Gladly welcome your advices / suggestion to have in mind before truncating log file of a Replicated database running under Merge replication. I need to truncate the...
March 18, 2008 at 7:00 am
Did you update statistics when you upgraded to SQL 2005?
Check out the execution plans on both servers and see if they're different (assuming you have access to the SQL 2000...
March 5, 2008 at 3:30 am
nitin.b.gupta (3/5/2008)
One of our application uses huge amount of memory for retrieval of data from database for application use only and perform lot of manipulation on it at that time...
March 5, 2008 at 3:27 am
When you run it in query mode, what are you typing in for the date? Also, make sure you don't put quotes (single or double) around the date you...
March 5, 2008 at 3:17 am
I think this might work better (at first glance anyway):
SELECT AD_NAME,AD_Image AS AD_HH_IMAGE
FROM TBL_AD_MASTER AS ADM
INNER JOIN TBL_WORK_ORDER_DETAIL AS WODTL ON WODTL.Ad_Key=ADM.Ad_Key
INNER JOIN TBL_WORK_ORDER_HEADER AS WOHDR ON WOHDR.WO_Hdr_Key=WODTL.WO_Hdr_Key
WHERE WODTL.TASK_SURR_KEY...
February 29, 2008 at 5:43 am
you could do this:
declare @subject nvarchar(510)
set @subject = @NewUserFN + ' ' + @NewUserSN + ' has registered on the website'
Then, when you call xp_sendmail you do this:
EXEC master..xp_sendmail
...
February 29, 2008 at 3:14 am
Viewing 15 posts - 316 through 330 (of 684 total)