Viewing 15 posts - 3,571 through 3,585 (of 8,416 total)
One other way to write Lutz's solution:
DECLARE @tbl TABLE (Room_ID INT, Check_in_Date DATETIME, Check_Out_Date DATETIME)
INSERT INTO @tbl
SELECT 1 ,'20100530','20100604' UNION ALL
SELECT 1 ,'20100610','20100612' UNION ALL
SELECT 1 ,'20100613','20100617' UNION ALL
SELECT 2...
May 2, 2010 at 9:43 pm
Using EXISTS with pass-through conditions may be more efficient:
USE tempdb;
GO
CREATE TABLE A (CusNo_A INTEGER NOT NULL PRIMARY KEY);
CREATE TABLE B (CustNo_B INTEGER NOT NULL UNIQUE, Second_CustNo INTEGER UNIQUE);
CREATE TABLE C...
May 2, 2010 at 9:10 pm
gaurav-404321 (4/30/2010)
I have setted down the font of text box as hindi font. I am saving the text in sql server database
What is...
May 2, 2010 at 6:28 am
You can never have too many solutions. This one is very short:
UPDATE INLINE SET OldMsg = Msg
FROM (SELECT OldMsg = Msg, Msg = CASE...
May 2, 2010 at 5:49 am
May 1, 2010 at 11:50 pm
Garadin (5/1/2010)
That said, it wouldn't need to execute if you actually did supply values, so it might be ok to catch that occasional row that fell through the cracks.
That is...
May 1, 2010 at 10:00 pm
Jeffrey Williams-493691 (5/1/2010)
May 1, 2010 at 9:53 pm
Jeffrey Williams-493691 (4/30/2010)
No, you cannot modify the index that way. You have to drop and recreate it to add additional included columns.
In Enterprise Edition (and equivalents) an index can...
May 1, 2010 at 8:55 am
Garadin (4/30/2010)
May 1, 2010 at 12:56 am
Jeff Moden (4/30/2010)
Using the great start that Paul provided, the following will also drop the decimal point if a whole number is realized...
Great stuff! Thanks so much for taking...
May 1, 2010 at 12:32 am
Jeff Moden (4/30/2010)
Paul, try this...
Ah. Yes, that is a bit of an issue isn't it? :rolleyes: 😀
May 1, 2010 at 12:29 am
Bradley Deem (4/30/2010)
Restore all transaction log backups taken since the latest differential backup restored with...
April 30, 2010 at 9:07 am
jswedlund (4/30/2010)
What is a tail log?
See Tail-Log Backups for all the details.
April 30, 2010 at 8:58 am
Peter Brinkhaus (4/30/2010)
April 30, 2010 at 8:10 am
anilkullam (4/30/2010)
April 30, 2010 at 7:39 am
Viewing 15 posts - 3,571 through 3,585 (of 8,416 total)