Viewing 15 posts - 7,771 through 7,785 (of 9,641 total)
The only time I have seen anything like this was in .NET 1.1 apps on PC's running McAfee. The McAfee Buffer OVerflow Protection was causing it. I thought...
August 22, 2008 at 8:25 am
ggraber (8/21/2008)
Both databases have 'ANSI Padding Enabled' set to false.
The ANSI_PADDING SETTING is set at the connection level and by default SSMS and .NET connections set ANSI_PADDINGS to TRUE, so...
August 22, 2008 at 8:21 am
Depends on what you need it for. SQL 2005 has an xml datatype and you could create a temporary table or table variable to put your results in with...
August 22, 2008 at 8:06 am
What are the settings on the Security Tab of the linked server properties? Perhaps your login does not have rights on the AS400?
August 22, 2008 at 7:57 am
After a quick glance it looks like Carl's solution is very similar in idea to mine.
August 22, 2008 at 7:51 am
Sorry but the HTML is not visible. It's one of the nagging issues with the forum.
I'm not real proficient with HTML, but couldn't you do something like this on...
August 22, 2008 at 7:48 am
You can use Profiler to script a trace that you can apply to the server as a server-side trace. You can add SP:completed, TQL:BatchCompleted, TSQL:StatementCompleted events and filter on...
August 22, 2008 at 7:34 am
I think this code could/should put you an a better path:
[font="Courier New"]DECLARE @punches TABLE (id INT, in_date VARCHAR(10), in_time VARCHAR(5), out_time VARCHAR(5))
DECLARE @hours TABLE(hour_start DATETIME, hour_end DATETIME)
DECLARE @nums TABLE (n...
August 22, 2008 at 7:24 am
Could you stick a variable in the package that you read from a configuration file that sets where you are running the package and pick the location based on that...
August 22, 2008 at 6:31 am
You need to look at this article: http://www.sqlservercentral.com/articles/T-SQL/62159/
August 21, 2008 at 8:14 pm
In SSRS the background color is either set or not set, so you can't partially fill a cell. You might be able to do something with a chart, which...
August 21, 2008 at 8:09 pm
This is how I'd do it:
[font="Courier New"]CREATE PROCEDURE [dbo].[sp_CheckAndUpdateWinner]
@Time smalldatetime,
@Date smalldatetime,
@ContestantKey INT,
@randomWinningmomentKey INT output
AS
DECLARE @TheKey INT
SELECT TOP 1
@TheKey = RandomWinningMomentKey
FROM
RandomWinningMoments WITH(updlock)
WHERE
HasBeenWon = 0 AND
Drawingdate = @Date...
August 21, 2008 at 5:10 pm
I really want to help but I can't unless you answer these questions:
agencies(agencyname, sponsorname)
sponsors(sponsorname)
What are the relationships between...
August 21, 2008 at 1:47 pm
If you find anything interesting please post back here.
August 21, 2008 at 1:38 pm
Viewing 15 posts - 7,771 through 7,785 (of 9,641 total)