Viewing 15 posts - 12,736 through 12,750 (of 26,486 total)
Okay, now we really need that Porky the Pig picture with him say move along, nothing to see here. The OP is "closing the thread". Like he was...
April 17, 2012 at 7:03 pm
dwain.c (4/17/2012)
DCODDName
J6598JOHN
Which may be what you want. However if you want all of JOHN's records, you can use this:
DECLARE @t TABLE
(DCOD CHAR(5), DNAME...
April 17, 2012 at 6:59 pm
Any one have a picture of Porky the Pig telling everyone to move along, nothing to see here? That would be a good post to end that thread on.
April 17, 2012 at 3:55 pm
CREATE TABLE dbo.three_columns
(
A INT NULL,
B INT NULL,
C INT NOT NULL
);
GO
ALTER TABLE dbo.three_columns ADD CONSTRAINT [ck_dbo.three_columns.C] CHECK
(
(C < 150 OR C > 151)...
April 17, 2012 at 3:47 pm
ScottPletcher (4/17/2012)
Storing this will allow to keep our query sargable for best index usage.
Is that really necessary?
Won't SQL treat computations on a declared variable as a constant, so they are...
April 17, 2012 at 3:34 pm
ScottPletcher (4/17/2012)
Storing this will allow to keep our query sargable for best index usage.
Is that really necessary?
Won't SQL treat computations on a declared variable as a constant, so they are...
April 17, 2012 at 3:29 pm
GilaMonster (4/17/2012)
April 17, 2012 at 3:27 pm
Sean Lange (4/17/2012)
--these are your parameters
declare @date1 datetime = convert(datetime, '20120201')
declare @date2 datetime = convert(datetime, '20120406')
select @date1, @date2
--now we want a variable to hold...
April 17, 2012 at 3:11 pm
jerome.morris (4/17/2012)
Lynn Pettis (4/17/2012)
SELECT
Con1,
Con10,
Con2,
Con3,
Con4,
...
April 17, 2012 at 3:09 pm
Also, before posting questions, please read the article Forum Etiquette: How to post data/code on a forum to get the best help[/url]. Follow the instructions provided in that...
April 17, 2012 at 2:54 pm
Here is some code to try:
SELECT
Con1,
Con10,
Con2,
Con3,
Con4,
Con5,
...
April 17, 2012 at 2:49 pm
Read the article Forum Etiquette: How to post data/code on a forum to get the best help[/url]. Follow the instructions provided in that article and give us the DDL...
April 17, 2012 at 2:44 pm
hbanerje (4/17/2012)
I want to modify or change 'Surgery Service' to 'XXX-Surgery' for the "Service" col where ID = 123,
and...
April 17, 2012 at 2:42 pm
Nice, ddl for the tables. Now you need sample data (as a series of INSERT INTO statements) and expected results.
April 17, 2012 at 2:17 pm
Viewing 15 posts - 12,736 through 12,750 (of 26,486 total)