Viewing 13 posts - 1 through 13 (of 13 total)
On the bleeding edge of disaster is the place we are going to be I guess! My client has a business application that Ive seen personally from a large software...
September 24, 2008 at 7:22 am
It is necessary in this case. I was thinking about a module to parse out all the bad keywords like delete, truncate, ect.. But isn't there a way to use...
September 24, 2008 at 6:36 am
Joe C, Im not totally sure about everything you are talking about, but again I have no control over how the data structure is built, I only have control over...
April 4, 2007 at 7:33 am
heres what Ive got working good so far...
declare @config table
(
config_id int
,config_name varchar(50)
,config_req int
,config_length varchar(50)
,ctrl_id int
,map_fieldvarchar(50)
,map_dtype varchar(50)
,visible_add int
,min_val int
,max_val int
,is_money int
,mask varchar(50)
)
insert into @config
SELECT
mc.config_id
...
April 3, 2007 at 11:36 am
The design is for mapping tables that I have no control over. The config table will do the mapping for me, its a bit of a hack I know. Im...
April 3, 2007 at 9:46 am
the config table doesnt have a column named make, the make is a config record on the table. I got this solution to work (http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=81585) but I will...
April 3, 2007 at 8:32 am
Heres what I have for unlimited children levels...
DECLARE @pid INT SET @pid = 3 --This get the parent you are looking for
DECLARE @Level INT
SET @Level = 1
DECLARE
@Hierarchy_List TABLE(...
March 8, 2007 at 1:24 pm
I found a solution. Heres what I have....
Heres my table:
id pid name
--------------------------------
1 0 UntID
2 0 Vin Number
3 0 Make
4 3 Model
5 4 Model Number
6 0 Model Year
7 0 Vehicle Type
8...
March 8, 2007 at 7:50 am
Not quite the results I need. I need parent child and grandchild to be in separate rows.
March 7, 2007 at 2:34 pm
I overlooked something. Your sugestion for testing the parms helped me find out that I needed single quotes around the empid when executing the proc. Thanks very much for the...
December 27, 2006 at 10:53 am
not too much. I may use the case way since I can add other conditionals to it like empty string checks.
December 21, 2006 at 9:31 am
select e.empid, e.ename, count(*) as 'tcount', sum(case when t.resolution is null and t.empid is not null then 1 else 0 end) as 'NULL resolution'
from employee as e
left join tasks as...
December 21, 2006 at 9:23 am
Thanks. That was a simpler answer that another I got at another message board. Works great!
Ryan
December 21, 2006 at 9:06 am
Viewing 13 posts - 1 through 13 (of 13 total)