Viewing 15 posts - 61 through 75 (of 277 total)
neliii (5/7/2010)
\\xyz.se.df.a.b\fgd
colum2
\\xyz\fgd
now i want to join both the coulmns by elimating the highlighted part. i mean .se.df.a.b
or else just give me the query which can elimante that part from that...
-- Cory
May 7, 2010 at 11:19 am
jez.lisle (5/7/2010)
WHERE C.id NOT IN (74, 75)
AND (DATEADD(DD, DATEDIFF(DD, 0, ASV.booking_date), 0) = DATEADD(DD, DATEDIFF(DD, 0, GETDATE()), 0))
AND ASV.completion_date IS NOT NULL
AND ASV.booking_date > DATEADD(Day, DATEDIFF(Day, 0, GETDATE()), 0)) --...
-- Cory
May 7, 2010 at 8:00 am
@subject = N'Hot Items out of Stock',
DECLARE @query varchar;
should be
@subject = N'Hot Items out of Stock'--, <== Remove this comma
DECLARE @query varchar;
-- Cory
May 5, 2010 at 11:59 am
show what you have so far, and the actual error.
Case <column> when <value> then <value> else <value> end as <Alias>
-- Cory
May 4, 2010 at 1:46 pm
May 4, 2010 at 1:02 pm
WO.PART_ID LIKE '% RTN' AND
Is the space always before the RTN?
-- Cory
May 3, 2010 at 3:02 pm
I certainly would not WANT to do it that way, however, it seems to fit the rules. being it was an interview, I would not expect they run into...
-- Cory
April 30, 2010 at 8:30 am
Perhaps I do not understand fully the situation, but, you can make no changes, but must add the constraint...
WITH NOCHECK ?
-- Cory
April 30, 2010 at 7:47 am
what is the error you are getting? "its not working" seems a bit vague.
-- Cory
April 28, 2010 at 1:03 pm
NEW TO SQL (4/26/2010)
from command prompt..i went to that instance and then ran sqlservr.exe -m -s<instancename>
just a hunch, stop the service (ctl break if the window is still up, or...
-- Cory
April 26, 2010 at 12:34 pm
good catch, I missed the "instance" key word. 😀
-- Cory
April 26, 2010 at 11:31 am
USE [master]
GO
ALTER DATABASE [<Your DB Name>] SET READ_WRITE WITH NO_WAIT
Is that what you are looking for?
-- Cory
April 26, 2010 at 11:17 am
it may be time to read your text book. These are classic examples from class.
If you really want help, provide the table structure, some sample data, and expected...
-- Cory
April 23, 2010 at 2:17 pm
CREATE TABLE #temp
(id int, sal int)
INSERT INTO #temp VALUES (1,20000)
INSERT INTO #temp VALUES (2,40000)
INSERT INTO #temp VALUES (3,60000)
INSERT INTO #temp VALUES (4,70000)
INSERT INTO #temp VALUES (5,80000)
INSERT INTO #temp VALUES (6,90000)
UPDATE...
-- Cory
April 23, 2010 at 1:48 pm
Viewing 15 posts - 61 through 75 (of 277 total)