Viewing 15 posts - 5,086 through 5,100 (of 10,144 total)
Try using this instead of print, which is buffered:
raiserror ('My Print Statement', 10,1) with nowait
Your inserts may be uncommitted until the cursor loop has completed, in which case you could...
March 6, 2013 at 6:41 am
It's difficult to find a question in your post. What are you observing now, and what would you like to see? Or are you looking for an explanation for an...
March 6, 2013 at 6:36 am
ChrisM@Work (3/6/2013)
Can you post the script for the index?
-- and the ddl for the table.
March 6, 2013 at 5:58 am
Can you post the script for the index?
March 6, 2013 at 5:57 am
Plateau (3/6/2013)
ChrisM@Work (3/6/2013)
You have a BEGIN at the top of the sproc - does it have a corresponding END?That's it, oh god that was so obvious now
Thanks so much Chris
You're...
March 6, 2013 at 4:49 am
You have a BEGIN at the top of the sproc - does it have a corresponding END?
March 6, 2013 at 4:45 am
geert.de.vylder (3/6/2013)
I adjusted the TestTables file. I included the complete Tussen_Tickets data which is actualy in our table. And I adjusted some other things.
Hope this helps.
You will find it...
March 6, 2013 at 4:35 am
--4. Find Transaction Counter
IF @Return_Message <> ''
SELECT @Transaction_Counter = [Transaction Counter] FROM Accounts
WHERE [transaction date] = '@Date_Last_Payment' AND [policy number] = @policy_number AND [transaction type] IN ('new business',...
March 6, 2013 at 4:30 am
Thinky Night (3/6/2013)
I got111
919
11211
12212
I expect
1101
9109
11211
12212
It works for me:
declare @table table (mMonth smallint);
insert into @table values (1),(9),(11),(12);
SELECT
mMonth,
LEN(mMonth) Length,
case LEN(mMonth) when 1 then ('0'+CAST(mMonth AS VARCHAR(6))) else mMonth end formattedMMonth,
RIGHT('0'+CAST(mMonth AS...
March 6, 2013 at 4:06 am
Plateau (3/6/2013)
ChrisM@Work (3/6/2013)
You have single quoted a variable, making it a string-type constant: '@Date_Last_Payment'
Hi Chris,
I have temporarily changed it to a varchar - in the input parameters bit however I...
March 6, 2013 at 4:03 am
You have single quoted a variable, making it a string-type constant: '@Date_Last_Payment'
March 6, 2013 at 3:50 am
alan_lynch (3/5/2013)
so if the data shows this
Adobe Inc,Version 1.3.1,Licensable,bla,bla,bla,bla
Adobe Inc,Version 1.3.1,Licensable,bla,bla,bla,different bla
Sun Microsystems,...
March 6, 2013 at 3:06 am
Thinky Night (3/6/2013)
It does not work. ๐
What results do you get, and what results are you expecting?
March 6, 2013 at 2:56 am
Try this:
RIGHT('0'+CAST(mMonth AS VARCHAR(2)),2)
March 6, 2013 at 2:25 am
Viewing 15 posts - 5,086 through 5,100 (of 10,144 total)