Viewing 15 posts - 5,686 through 5,700 (of 9,643 total)
I think the only way to do this is to union in a None or blank value into the dataset for the parameter list. You don't have to add...
March 12, 2009 at 7:17 am
You would need to share some code in order for anyone to venture a guess as to what is happening.
March 11, 2009 at 1:58 pm
For security purposes it is recommended that sa have a very strong password and that the account is not used by anyone.
If you have a Windows Domain the...
March 11, 2009 at 9:11 am
Basically it is a pain to get multi-value parameters to work with stored procedures. Attached is a zip file that includes:
a simple report that uses a multi-value parameter
the datasource...
March 11, 2009 at 9:06 am
Your issue is that you are using DMO in Usp_ErrorLogCheck and you would need to convert that procedure to use SMO for it to work with SQL Server 2005. ...
March 11, 2009 at 8:30 am
Again, this assumes that you are just left padding integers.
DECLARE @test-2 TABLE (string CHAR(9)) ;
DECLARE @start INT, @end INT
- this is your range
SELECT @start = 210000001, @end = 210000009
-- this...
March 11, 2009 at 8:11 am
Can you connect to the server using another application like SSMS?
March 11, 2009 at 8:02 am
Duplicate post. Please post answers here.
March 11, 2009 at 7:46 am
Have you checked to make sure that the SQL Server has Named Pipes enabled? YOu can check this using the SQL Server Configuration Manager under Network Configuration.
March 11, 2009 at 7:44 am
This works, but it is basically the same as doing it in a join later.
SELECT
SUM(b.occupants) AS 'People at risk (incorrect)',
A.atrisk,
...
March 11, 2009 at 7:41 am
The Between will actually work. If the character string is always a padded numeric you can also do an Explicit conversion to int and then the between.
This sets up...
March 11, 2009 at 7:19 am
I don't believe you can unless you are setting up your SQL Statement to be from a variable and you build the variable ahead of the OLE DB Command step.
I...
March 11, 2009 at 6:58 am
AS I look at your code, I'm wondering if the issue isn't a long running transaction. I'm not sure how SQL Server handles transactions when using dynamic SQL and...
March 11, 2009 at 6:52 am
Viewing 15 posts - 5,686 through 5,700 (of 9,643 total)