Viewing 15 posts - 11,851 through 11,865 (of 26,486 total)
Be sure to check out the change I made to the code I posted above. The join to sys.objects isn't even needed.
May 18, 2012 at 11:04 am
komal145 (5/18/2012)
Entry_id Eventy_type_id( not unquie) Event_value( not unique)Event_datetimeusername
16pending05/17/2012 23:30ABC
16Pending letter05/17/2012 24:31DCBSA
11newinforecieevd05/17/2012 24:32Adsadhsa
18EA05/17/2012 24:33Asafcsd
16pending05/17/2012 24:33Asdsac
TABLE A scenario 1
TABLE A scenario 2
Entry_id Eventy_type_id( not unquie) Event_value( not unique)Event_datetimeusername
21carrierexception05/17/2012...
May 18, 2012 at 11:01 am
You are really doing a lot of extra work that you don't need to be doing.
SELECT
s.name AS schemaName,
t.name AS TableName,
...
May 18, 2012 at 10:56 am
Welsh Corgi (5/18/2012)
Lynn,Don't worry about it.
I'm not using it.
Okay. I was noticing some things about the original query. The first query with the LEFT JOINS; the joins between...
May 18, 2012 at 9:50 am
sporoy (5/18/2012)
in the secondary instances' error log there are (after each restore) although secondaries...
May 18, 2012 at 9:23 am
Welsh Corgi (5/18/2012)
Lynn Pettis (5/18/2012)
Welsh Corgi (5/18/2012)
How could I convert the code below to CTE?
SELECT s.Name AS SchemaName ,
...
May 18, 2012 at 9:13 am
Have you don this: Run DBCC CHECKTABLE to verify consistency.
What were the results?
May 18, 2012 at 9:06 am
First, you can't rename an instance. If you want to use the default instance, you have to install another instance. Then you have all the issues of moving...
May 18, 2012 at 9:03 am
Welsh Corgi (5/18/2012)
How could I convert the code below to CTE?
SELECT s.Name AS SchemaName ,
...
May 18, 2012 at 8:55 am
halifaxdal (5/18/2012)
Lynn Pettis (5/17/2012)
set @sql = 'select count(1), sa from deviationbycategoryandsa where [' + @Category + '] = 1 and sa = ' + '''' + @sa + ''''...
May 18, 2012 at 8:49 am
With as little information provided, not sure. When and how was it encrypted? What tool was used to encrypt the file?
May 18, 2012 at 8:24 am
Do you have the SQL Browser service running? If no, then dynamic ports are going to be an issue. The SQL Browser service listens on port 1434 and...
May 18, 2012 at 8:21 am
halifaxdal (5/18/2012)
Thank you very much Lynn. I will try out your solution.
Slight change, needed to add a second column to the table variable. You may need to adjust the...
May 18, 2012 at 8:15 am
Jeff Moden (5/17/2012)
Thomas Stringer (5/16/2012)
May 17, 2012 at 10:57 pm
Viewing 15 posts - 11,851 through 11,865 (of 26,486 total)