Viewing 15 posts - 5,311 through 5,325 (of 9,643 total)
On 2000 I recommend using SCOPE_IDENTITY pretty much exclusively. Could someone else create a trigger in the DB without your knowledge? What happens if you leave and someone...
April 21, 2009 at 6:57 am
As Simon mentioned the parameter is passed as a comma-delimited list by default so I would just split the list in the stored procedure into a table and join on...
April 21, 2009 at 6:36 am
Glad you could do that. I'd recommend using SCOPE_IDENTITY() instead of @@Identity though. @@Identity returns the last Identity value created in the session so if there are any...
April 21, 2009 at 5:56 am
Are you only querying the single table? What's the rest of the criteria? Without seeing the whole query it's hard to say what is causing the issue. ...
April 20, 2009 at 1:45 pm
You are getting an implicit conversion from char to nchar in your IN clause. Try this:
AND dbo.BO_ProjectIDAllPrompt.ProjectFilter IN (N'2711',N'2634')
Which specifies that the constants are NCHAR.
Also...
April 20, 2009 at 1:24 pm
You can do it 2 ways. The first way is 1 I'm sure you have considered:
(sum(EmpExp)/Count(emp)) + sum(MiscExp)
Or you can use the ReportItems collection like this:
ReportItems!TextBox1.Value +...
April 20, 2009 at 1:18 pm
From the BOL entry on C2 Auditing:
If the audit directory fills up, the instance of SQL Server will be stopped. You can restart the instance of SQL Server if auditing...
April 20, 2009 at 1:15 pm
You can concatenate like this:
Fields!FieldName.Value + ", " + Fields!FieldName2.Value
April 20, 2009 at 1:05 pm
Yes.
Do you want to do it as an expression in the report itself or as a calculated column in the dataset?
April 20, 2009 at 12:51 pm
How about this:
SELECT
*
FROM
TABLE
WHERE
LEN(column) - CHARINDEX('_', 'column') = 2
Or
SELECT
*
FROM
TABLE
WHERE
...
April 20, 2009 at 12:49 pm
I don't think any of the Identity Functions work across linked servers. If I were doing this and had access to the 2000 server, I'd create a stored procedure...
April 20, 2009 at 11:27 am
GilaMonster (4/20/2009)
Jack Corbett (4/20/2009)
April 20, 2009 at 10:51 am
Alvin Ramard (4/20/2009)
Your comment in the Interview Questions thread about being interviewed by Gail reminded me of comments made in here earlier about interview sessions at the PASS conference.
Has...
April 20, 2009 at 10:47 am
Steve Jones - Editor (4/20/2009)
Wow, this thread actually has technical content slipping in 😛
Only for a short time I am sure.
Another note for the non-Twitterer's is that there...
April 20, 2009 at 9:40 am
Viewing 15 posts - 5,311 through 5,325 (of 9,643 total)