Viewing 15 posts - 8,341 through 8,355 (of 13,469 total)
just alter the definition of the computed column so it includes a cast or convert;
however, since a DATE datatype doesn't have the time portion, i think you could get...
December 3, 2010 at 9:45 am
they are easy to find, you just have to realize they are not real tables...they are Views...and they are also system views, so they are in a seperate folder in...
December 3, 2010 at 9:34 am
newbieuser (12/2/2010)
Thanks Lowell.CREATE SYNONYM dbo.citydata@ProdServer FOR MyLinkedserver.master.dbo.CITYDATA
Is 'ProdServer' linkedserver name in the example?
a synonym is an alias...it can be anything, but obviously it needs to make sence to...
December 2, 2010 at 9:14 am
yes, you can create a synonym that points to the linked table.
a synonym must point ot an object...procedure,function, table view, etc.
it cannot point to part of a name.
sp_tables_ex MyLinkedserver
DROP SYNONYM...
December 2, 2010 at 8:54 am
same datatype as the column it's on....there's rare exceptions where you make an index on a persisted calculated column that is the substring of a column, so then it's the...
December 2, 2010 at 7:53 am
Indianrock (12/2/2010)
The execution plans were missing the number of rows involved by a mile.
exactly;
I've got one table, for example, that i update every two hours during biz hours , and...
December 2, 2010 at 7:09 am
I still disacgree with this, that's not what i got from TheSLGuru's comments:
2. Turn auto update off on certain indexes with alter index.... set norecompute=on and update manually as needed
As...
December 2, 2010 at 6:28 am
it's the tablename: the table is not "testen.strasse", it is "testen" or "dbo.testen"
the code is looking for a schema testen and a table strasse, which does not exist.
ALTER INDEX strasse...
December 2, 2010 at 5:36 am
i think you'll have to have some ugly cleanups to try to find possible matches:
SELECT * FROM
(
Select PK,
REPLACE(
REPLACE(
REPLACE(
REPLACE(
REPLACE(
...
December 1, 2010 at 2:25 pm
ok, as Seth identified, there's plenty of ways to script tables...GUI, SMO, lots of script contributions.
one of my articles out there is how to script a table via TSQL[/url]. by...
December 1, 2010 at 10:44 am
the why is easy; NOT IN requires it a comparison to each value in the sub-select.
really that is the same as saying :
WHERE GR.NumDoc <> 1
AND GR.NumDoc...
December 1, 2010 at 5:38 am
when you use NOT IN, you have to prevent NULLs in your dataset:
change query1 to this, and you'll get the expected resultsi think.
select GR.NumDoc As Query1 from GR Where GR.NumDoc...
December 1, 2010 at 5:32 am
homebrew01 (11/30/2010)
Lowell, I tweaked that a bit for my situation, and it worked quite nicely ... Thanks !
sweet ! i was hoping to fiddle with that old thing after you...
November 30, 2010 at 6:10 pm
Viewing 15 posts - 8,341 through 8,355 (of 13,469 total)