Viewing 15 posts - 1,096 through 1,110 (of 2,038 total)
Hi
Just tried and works on my system:
DECLARE @t TABLE (Ip VARCHAR(20), Txt VARCHAR(30))
INSERT INTO @t
SELECT '10.1.30.48', '3GPM'
...
May 6, 2009 at 12:41 pm
Alvin Ramard (5/6/2009)
I haven't analyze any data to validate my answer, but I feel that the answer to the original question: "Are the posted questions getting worse?" is:YES!
... http://www.sqlservercentral.com/Forums/Topic709217-149-1.aspx?Update=1
!!!
May 6, 2009 at 12:35 pm
Hi
Counter question: Why don't you just try?
Greets
Flo
May 6, 2009 at 12:33 pm
DECLARE @post VARCHAR(512)
SELECT @post = 'Hi, we have some asp code right now that transfers contents of three tables from one server to another. Here is how it works right...
May 6, 2009 at 12:27 pm
Hi David
Basically it is as simple as you thought. But you have to remember:
* The storage size of the columns grows to twice size
* If you have indexes on the...
May 6, 2009 at 12:20 pm
Hi
I'm not sure what's the specific question? 😉
Greets
Flo
May 6, 2009 at 12:10 pm
Hi JL
Try this:
-- Some sample calls
DECLARE @calls TABLE (Id INT, StartDate DATETIME, EndDate DATETIME, Department VARCHAR(10))
INSERT INTO @calls
...
May 6, 2009 at 12:04 pm
Hi
I misunderstood your initial post. I just tried and can reproduce the same error. Sorry I have no other suggestions. Maybe somebody else can help.
Best wishes
Flo
May 6, 2009 at 8:56 am
Hi
Could you please just copy/paste my query without any manipulations and tell me if it works?
As Mark already wrote, if you still get errors, please provide the exact error message...
May 6, 2009 at 8:51 am
Hi
Try this. Use a Tally table to build up your time table and CROSS APPLY to get the current active calls.
-- Some sample calls
DECLARE @calls TABLE (Id INT, StartDate DATETIME,...
May 6, 2009 at 6:58 am
Hi
Just tried and works:
DECLARE @t TABLE
(
Id INT NOT NULL IDENTITY,
Country NVARCHAR(100),
PRIMARY KEY CLUSTERED
(Id)
)
INSERT INTO @t
...
May 6, 2009 at 6:28 am
Hi Rock
Try this:
DECLARE @t TABLE (name VARCHAR(100), first_name VARCHAR(50), last_name VARCHAR(50))
INSERT INTO @t (name)
SELECT 'hello+world'
...
May 6, 2009 at 6:16 am
Hi
It depends on how your inner procedure returns that something was not successfully. Your inner procedure can return a return code which can be handled in your outer procedure.
Greets
Flo
May 6, 2009 at 6:11 am
Hi
I'm not sure if I got you, but try this:
CREATE PROCEDURE usp_TestPrint
@text NVARCHAR(128)
AS
PRINT @text
GO
DECLARE @sql NVARCHAR(MAX)
SELECT TOP(10)
@sql =...
May 6, 2009 at 4:46 am
Viewing 15 posts - 1,096 through 1,110 (of 2,038 total)