Viewing 15 posts - 916 through 930 (of 2,007 total)
cdh-727733 (2/8/2012)
I tried it on the 4 tier and I can't get it...
February 8, 2012 at 5:27 am
balu-1123884 (2/8/2012)
I have table like
Name Type ...
February 8, 2012 at 4:46 am
david.alcock (2/8/2012)
February 8, 2012 at 4:41 am
SGT_squeeqal (2/8/2012)
Cast your column as varchar(MAX) first
select REPLACE (cast(col as varchar(max)),'value','replace_value')
That won't work in SQL Server 2000, which is this forum.
Untested, but could you split it into chunks, run your...
February 8, 2012 at 4:38 am
cdh-727733 (2/8/2012)
I can't seem to get it to produce the correct results though.
If @levelID is set to null and h.ID is set to 1 then...
February 8, 2012 at 3:25 am
SQL Kiwi (2/8/2012)
Koen Verbeeck (2/8/2012)
I believe this will work:
Doesn't account for NULLs.
SELECT
t2.*
FROM dbo.temp1empdtls AS t1
JOIN dbo.temp2empdtls AS t2 ON
t2.empno = t1.empno
WHERE...
February 8, 2012 at 2:28 am
suhailquadri (2/8/2012)
Thanks a million.. which is very simple and easy. You are a champ!!
Just so you know for sure, you only ever need one post on a topic. Posting multiple...
February 8, 2012 at 2:03 am
Duplicate post, and another.
February 8, 2012 at 2:02 am
BEGIN TRAN
--Your sample data
CREATE TABLE temp1empdtls (empno INT, empname VARCHAR(50), age INT)
INSERT INTO temp1empdtls
VALUES (11, 'John', '38')
INSERT INTO temp1empdtls
VALUES (12, 'Eric', '20')
INSERT INTO temp1empdtls
VALUES (13, 'Adam', '40')
CREATE TABLE temp2empdtls (empno...
February 8, 2012 at 1:57 am
cdh-727733 (2/7/2012)
It does seem to mostly work with the example data - I even put in a 4th category level and it returned that.
However...
February 8, 2012 at 1:48 am
See this thread for methods of ensuring that correct dates are used in your convert.
February 7, 2012 at 10:07 am
cdh-727733 (2/7/2012)
February 7, 2012 at 9:57 am
cdh-727733 (2/7/2012)
February 7, 2012 at 9:46 am
cdh-727733 (2/7/2012)
So in my result set I just want the categories that match.
So if I feed in search critera and the selected category...
February 7, 2012 at 9:06 am
Viewing 15 posts - 916 through 930 (of 2,007 total)