Viewing 15 posts - 8,461 through 8,475 (of 13,460 total)
a CTE is available just for the next statement in the query, so if it really needed to exist twice, you'll need a temp table.
You're not really doing anything that...
November 2, 2010 at 1:31 pm
rather than the AVG, i think you want the MIN([Sch Start]) for the earliest, or the MAX(([Sch Start]) for the latest date.
November 2, 2010 at 11:40 am
since you have a VPN, your machine is effectively on their network right?
what you'll want to do is fairly straightforward, the process is the same as you would do locally.
connect...
October 29, 2010 at 5:29 am
--snip edited wrong answer!--
October 28, 2010 at 12:14 pm
Joe you cannot make the aliases for the columns dynamically(at least not directly) , so you have to revert to dynamic SQL to do it instead...building the command, then executing...
October 28, 2010 at 11:05 am
this happened to me as well; a partial install kept me from redoing or uninstalling.
i googled "completely uninstall sql2005" and found this link at microsoft that gave the annoying...
October 28, 2010 at 10:55 am
Jack Corbett (10/28/2010)
I'll take it. Shouldn't take long to put it together. Probably be a combo of Profiler & T-SQL
Jack I've got a minor article i contributed that...
October 28, 2010 at 6:34 am
it's in the comments of hte proc:
--#############################################################################
--if you are going to put this in MASTER, and want it to be able to query
--each database's sys.indexes, you MUST mark...
October 28, 2010 at 6:18 am
as usual, it depends....
an inline table value function should perform the same...a multi statement TVF often slows things down...
care tou show us the function to see if we can...
October 27, 2010 at 2:52 pm
anish, it looks to me like you are truncating your value by at least a couple of characters..., so you would never be able to compare a hash to the...
October 27, 2010 at 1:53 pm
boris with Profiler running agaisnt my 2008 machine, i'm running this command as a crappy example into a table, which i know will produce a pk violation:
CREATE TABLE [dbo].[MYADDRESS] (...
October 27, 2010 at 12:26 pm
RENAME is a valid command in Oracle, but not SQL; you have to use the sp_rename procedure in this case.
October 27, 2010 at 9:48 am
parthi-1705 (10/27/2010)
Trigger or not good to used on all the tables in the DB
Server side trace may be good for one point of...
October 27, 2010 at 8:06 am
mashikoo (10/27/2010)
That's exactly what I'm trying to do add a calculated column to create the desired version and leave the original integer data untouched but i don't to Alter...
October 27, 2010 at 7:44 am
you can add a calculated column to create the desired version and leave the original integer data untouched; you can do the same in the presentation layer as well.
ie
ALTER TABLE...
October 27, 2010 at 7:24 am
Viewing 15 posts - 8,461 through 8,475 (of 13,460 total)