Viewing 15 posts - 38,521 through 38,535 (of 49,571 total)
gmartin (6/11/2009)
begin transelect @Tran_Date = Tran_Date from myTable
where Tran_ID = 123456
commit
Absolutely no point in a transaction there. Transactions are so that changes happen as atomic...
June 11, 2009 at 9:40 am
gmartin (6/11/2009)
June 11, 2009 at 9:22 am
Have you considered full text search?
June 11, 2009 at 9:10 am
gmartin (6/11/2009)
June 11, 2009 at 9:10 am
mjarsaniya (6/11/2009)
create table #tbl(id int identity,index_value_table_name nvarchar(max),index_value_column_name nvarchar(max));
declare @var nvarchar(max);
set @var='mynk'
alter table #tbl
add column + @var +...
June 11, 2009 at 8:50 am
gmartin (6/11/2009)
There must be a way to refresh or reload that meta data.
There is nothing to refresh. Procedures are only stored in one place in SQL, in a hidden system...
June 11, 2009 at 8:45 am
gmartin (6/11/2009)
I appreciate the help. But I'm asking a pretty specific question. I need to know how to "refresh" the internal system tables.
You can't 'refresh' the system tables....
June 11, 2009 at 8:31 am
Joseph Fallon (6/11/2009)
When I don't use "SELECT * FROM " the query always uses the covering index. Thanks for the tip Mr Stobbs.
Is the index really covering for SELECT *?...
June 11, 2009 at 7:12 am
Christopher Stobbs (6/11/2009)
June 11, 2009 at 6:00 am
Wilfred van Dijk (6/11/2009)
I didn't found any restrictions on truncate in combination with FK (in BOL).- Is this a known issue (bug?)
Not a bug, a documented restriction.
From Books online, the...
June 11, 2009 at 5:57 am
Christopher Stobbs (6/11/2009)
Joseph Fallon what order are the fields in your in covering index, this will make a difference.
It will, because one of the columns is an inequality.
http://sqlinthewild.co.za/index.php/2009/02/06/index-columns-selectivity-and-inequality-predicates/
p.s. Please in...
June 11, 2009 at 5:52 am
Eswin (6/11/2009)
Gila so what should be done when your log file or data file grows and reaches the limit of the space available in server.
Get more disks or delete some...
June 11, 2009 at 3:52 am
Why do you want to shrink? Databases tend to grow as more data gets put in them. It's in their nature.
Shrinking causes massive fragmentation and will just result in the...
June 11, 2009 at 2:55 am
Drop the index, create a new one. Or create the index with the DROP_EXISTING clause
June 11, 2009 at 2:29 am
Tim Walker (6/10/2009)
June 11, 2009 at 2:29 am
Viewing 15 posts - 38,521 through 38,535 (of 49,571 total)