Viewing 15 posts - 76 through 90 (of 127 total)
It will modify to work with SQL Server 2000 fine; however, you will need to use derived tables instead of CTEs. I will look at this over lunch and...
April 22, 2008 at 8:57 am
Karthik:
In general neither of these alternatives would be my typical first choice at addressing a problem. There are times in which LOOP and CURSOR are the prescribed approach to...
April 22, 2008 at 6:52 am
The simpler approach would be to just pass through the table for each column and use SUM and CASE to count up your totals. However, if your "Kipp" table...
April 22, 2008 at 6:49 am
Kipp,
Here is my first pass at this; I hope this helps a little:
with baseProject as
( select distinct
case when charindex('.', proj_id) > 0
...
April 22, 2008 at 6:25 am
I am not sure which format you are aiming at; you might want to give a look at the CAST AND CONVERT article in books online. If you are...
April 21, 2008 at 6:25 am
Well said. Thanks to both of you for picking me up on this. 🙂
April 17, 2008 at 7:09 am
Ripal,
I would suggest that you need to make a compromise in your constraints. There several major obstacles here including (1) you are using SQL 2000 instead of SQL 2005,...
April 17, 2008 at 6:40 am
If you would rather have two distinct comma delimited lists this is also an easy task to perform using XML formatting. That can be done using the same source...
April 17, 2008 at 5:35 am
Table variables are not available to be used as arguments to procedures or functions in either SQL 2000 or SQL 2005. Table variables are a feature that continues to...
April 16, 2008 at 7:37 am
If you are wanting to pass a table to a function you might want to consider converting the table to XML and passing the XML as the argument to the...
April 16, 2008 at 6:48 am
When you execute your create the temp table through dynamic SQL you are creating that temp table in a context that is completely separate from the context of the stored...
April 16, 2008 at 6:24 am
It will help if you give more description of what it is you are trying to do so that we do not end up helping you destroy your table. ...
April 15, 2008 at 2:56 pm
Oh well, are you using SQL Server 2000 or SQL Server 2005?
April 14, 2008 at 2:58 pm
I can put a query together to produce this report, but the relationships of the data to produce this report looks very weak or even technically not related. I...
April 14, 2008 at 2:38 pm
Mahesh:
I would suggest that in addition to preparing for the set of questions that come from the person reviewing you that you also be prepared and have yourself a set...
April 10, 2008 at 7:08 am
Viewing 15 posts - 76 through 90 (of 127 total)