Viewing 15 posts - 5,536 through 5,550 (of 6,034 total)
Craig Farrell (6/27/2011)
...
I agree, and it sounds like someone used a temp table for logical ease then for optimization concerns. Moving to temp tables of any form (not CTEs)...
June 27, 2011 at 2:11 pm
Actually, I think it may be possible for multiple SQL Server instances to share the same database files, but one requirement is that the database must be on a read-only...
June 27, 2011 at 12:40 pm
Craig Farrell (6/25/2011)
Eric M Russell (6/25/2011)
Craig Farrell (6/24/2011)
...
Just to confirm, you're familiar with the fact that a CTE is nothing more then a subquery, and has no optimization value? ...
June 27, 2011 at 11:13 am
Craig Farrell (6/24/2011)
...
Just to confirm, you're familiar with the fact that a CTE is nothing more then a subquery, and has no optimization value? It's merely there to allow...
June 25, 2011 at 9:27 am
The decision of temp table vs table variable vs CTE or etc. depends on how this intermediate resultset will be leveraged within the stored procedure.
Where I've mostly used table variables...
June 24, 2011 at 4:04 pm
GilaMonster (6/23/2011)
ankit.shukla1105 (6/23/2011)
I created two tables, VarChar_Table and Char_Table as below:
create table Char_Table...
June 24, 2011 at 2:40 pm
Some types of events warrant not just logging or auditing, but sending an immediate notification to the DBA's attention. For example there is no good reason for the following errors...
June 24, 2011 at 1:15 pm
Jeff Moden (6/24/2011)
June 24, 2011 at 11:01 am
sqldba_icon (6/24/2011)Eric not sure what do u mean by that question but that is not under my control. There could be a way to reduce the number of records but...
June 24, 2011 at 9:01 am
Back with SQL Server 2000, I would frequently leverage temporary tables and table variables for containing a small intermediate result which would then get joined with another query. However, since...
June 24, 2011 at 8:53 am
sqldba_icon (6/21/2011)
i) select * into #temp from tableA
ii) create table #temp (col 1)
insert into ...
June 23, 2011 at 3:29 pm
Perhaps a user entered some trash for the email address in the web form. When I exec the following, I see several character values that are invisible in a grid...
June 23, 2011 at 1:43 pm
seth 98372 (6/23/2011)
Thank you for your thoughtful response here. OPC.Three is right, though, we're doing the initial SQL Query in java, then processing the results (in java), and per each...
June 23, 2011 at 12:55 pm
Har-Har! I wish this were a homework assignment... This is me at my job trying to improve our app's performance. My boss prides himself as an SQL expert, and he's...
June 23, 2011 at 11:48 am
The worst type of errors are the are not really errors at all, but rather user misunderstandings about SQL functionality (or just typos made in haste) that compile, run with...
June 23, 2011 at 10:20 am
Viewing 15 posts - 5,536 through 5,550 (of 6,034 total)