all groups > sql server (alternate) > august 2007 > threads for august 29 - 31, 2007
Filter by week: 1 2 3 4 5
Apparent DB engine bug in SQL Server 2005
Posted by Dimitri Furman at 8/31/2007 11:03:27 PM
SQL Server 2005 SP2 (build 3054)
Consider the following scenario:
- A complex multi-statement table valued function is created. Let's call
it dbo.tfFunc(@Param1, @Param2)
- A SELECT statement is executed, that calls the above function twice,
each time with a different set of parameters. I... more >>
problem with subselect
Posted by Bart op de grote markt at 8/31/2007 6:58:08 AM
Hello,
I have a problem with a subselect I use in a stored procedure:
UPDATE #TEMP_TABLE
SET P_ID_1=(SELECT top 1 b.P_ID_1 from #TEMP_TABLE b where
b.ID=PARENT_ID),
P_ID_2=PARENT_ID,
P_ID_3=ID
WHERE PARENT_ID IN (SELECT P_ID_2
FROM #TEMP_TABLE b)
So ... more >>
Migrating Database changes to Production
Posted by RichardLamont at 8/31/2007 12:10:07 AM
We often have to migrate changes to sql server 2000 databases from
development to production. Normally we dump the sql from Enterprise Manager
for production and development and do a diff (using CSDiff - downloadable for
free).
From the diff information we create some scripts to add new tables... more >>
Any limitations on EndPoint Creation par instance
Posted by SQLMan_25 at 8/30/2007 7:26:19 PM
Hi All,
I am trying to create multiple endpoints for mutiple database that has
service broker enabled. It allows me to create only one endpoint for
service broker then i get the following error:
Msg 7862, Level 16, State 1, Line 1
An endpoint of the requested type already exists. Only one en... more >>
forming a string with dateparts
Posted by rgintexas at 8/30/2007 8:31:57 AM
I want to create a string using the week number and year of a date.
For instance, if i have a date of 1/3/2007, which would be week 1 of
2007, i want to create a string that says 'Wk1-200707'.
i know it's basically 'WK' + CAST(DATEPART(WK,'1/3/2007') AS VARCHAR)
+ '-' +CAST(DATEPART(YEAR,'1/3/2... more >>
Help Needed For Date field (Age) Calculation In SQl query
Posted by Dinesh at 8/30/2007 3:18:34 AM
Hi experts,
I am working on SQL server 2005 reporting services and i am getting a
problem in writting a query.
Situation is given below.
There is one table in database Named Child
Now i have to find the All childrens whoes Age is 13 years Base on
Some given parameter.
If User select... more >>
|