Viewing 15 posts - 11,626 through 11,640 (of 13,460 total)
I'd take a wild guess and say: add up the value of all your machines, servers and printers.
if you assume that a machine should last 5 years before it gets...
Lowell
February 9, 2009 at 10:28 am
[font="Courier New"]
SELECT CONVERT(DATETIME,'20080204') --converts cleanly, and displays as '2008-02-04 00:00:00.000'
SELECT CONVERT(VARCHAR,CONVERT(DATETIME,'20080204'),101) --the desired format '02/04/2008'[/font]
Lowell
February 9, 2009 at 10:19 am
Hi Alex;
Wow if you'd provided that table definition up front, we wouldn't have gone thru two pages of possible solutions and misunderstandings;
Help us help you! when you post in...
Lowell
February 8, 2009 at 8:11 pm
I agree with Jeff on the different execution plans...
take this part for example:
CREATE PROC [dbo].[s4sp_IFrames_Search]
@AffiliateId int,
@Zip varchar(12),
@curriculumid int = 0,
@ExcludeClientID int = 0
because you've assigned default values, the execution...
Lowell
February 8, 2009 at 7:52 pm
What have you tried so far? what is the real, full CREATE statement for dbo.Alpha? is there a primary key?
how do you know what row either "T" is ? there's...
Lowell
February 8, 2009 at 7:29 pm
here is a delete example. hope that helps, without more details it's tough.
SET ROWCOUNT 50000
WHILE 1=1
BEGIN
DELETE FROM dbo.myTable ...
Lowell
February 8, 2009 at 6:37 pm
here's a situation where I've expected a trigger to rollback because I raised an error.
http://www.sqlservercentral.com/Forums/Topic622424-338-1.aspx
I've also seen triggers still commit even though a Level 14 error was raised by...
Lowell
February 8, 2009 at 4:24 pm
you'll need to explain exactly what you want.
how can you have data BASED on a count if you don't USE a count?
give us the REAL table with sample data, and...
Lowell
February 7, 2009 at 8:24 pm
you need to select from the master table, and include the group as a sub select there somewhere, ie
SELECT *
FROM SOMETABLE
INNER...
Lowell
February 7, 2009 at 7:33 pm
Here's a detailed explanation i saved from an MS blog a while back:
quote:
--------------------------------------------------------------------------------
The reason for the performance difference stems from a feature called
"parameter sniffing". Consider a stored proc defined...
Lowell
February 7, 2009 at 11:05 am
makjain (2/7/2009)
Will i...
Lowell
February 7, 2009 at 4:12 am
If it's not your own server, for example if it is going to be hosted at GoDaddy or some other host, THEY will give you the user name and password...
Lowell
February 6, 2009 at 10:18 pm
you don't need a trigger for this...you could handle it automatically by making status a calculated field instead of a bit you have to update:
[font="Courier New"]CREATE TABLE TEST(
SID INT IDENTITY...
Lowell
February 6, 2009 at 9:15 pm
i've got a stored proc i made that i named sp_getDDL, which trolls thru the table definition and it's columns and builds the script for the table; it's probably...
Lowell
February 6, 2009 at 5:46 pm
just change to a temp table, no problem:
CREATE TABLE #LinkedServers (
...
Lowell
February 6, 2009 at 2:10 pm
Viewing 15 posts - 11,626 through 11,640 (of 13,460 total)