Viewing 15 posts - 106 through 120 (of 130 total)
Need to modify it slightly to fit your requirements. but this is my solution to rotate table vertically
Look like forum does not allow the drop statements for temporary tables, that...
October 2, 2012 at 7:25 am
PiManΓ© (10/1/2012)
haiao2000 (10/1/2012)
October 1, 2012 at 3:44 pm
For some reasons, everyone a while I COULD NOT post the code using any of IFcode. there is some issue with @ or #. Anyone see similar issue witht this...
October 1, 2012 at 1:16 pm
Some one suggested this function works
ALTER function [dbo].[ConvertBigIntToVarBinary1](@param bigint)
returns varbinary(1000) AS
begin
declare @iPower int;
declare @result varbinary(1000);
...
October 1, 2012 at 8:31 am
Yes there is, if you run the function and pass a parameter like 5, you will see the result. Just perform a normal conversion would not give the desire result
September 28, 2012 at 9:18 pm
--would be appreciate if next time you post sample data like this, either that or post your credit card number we can charge to π
declare @temp table(Corp_address int, paid_date_interval numeric(9,2),...
September 28, 2012 at 3:54 pm
ultimate sql (9/17/2012)
And if you want to keep the data in default varbinary format and display it in character when selecting then last statement can be changed...
September 18, 2012 at 8:28 am
Ah
I figured out the solution after posting.
insert into @temp(binaryField)
select convert(varbinary(max), @result , 2)
Thanks anyway Experts! π
September 17, 2012 at 7:34 pm
Lynn,
Sorry, you are absolutely correct. it is just another database on the same server. we have 2 databases sitting on the same server.one is a live database, another is backup...
August 26, 2012 at 8:30 am
One more issue though.. how do i check table on another database from one database . if i run this query from the "MainDatabase" and set table...
August 24, 2012 at 4:21 pm
Sean,
Great which mean you guys are fast and furious!
Thanks for all the helps, I am sure this will work.
Sean Lange (8/24/2012)
if EXISTS
(
select * from sys.columns
where object_id =...
August 24, 2012 at 3:50 pm
Lynn
This is what I am looking for. Great! Let me try this. Thank You!
Lynn Pettis (8/24/2012)
August 24, 2012 at 3:49 pm
Sean
That will not work because TableB may not have a column with identify specification properties set to YES. The reason i do this because these tables being created dynamically by...
August 24, 2012 at 3:36 pm
Thank you for quick response. I actually replied to my post previously. you are right all i tried to do on that is basically squelching, definitely not handling. I am...
August 24, 2012 at 3:26 pm
It looks like the issue is because the exception occurs at the line below . Basically what I try to do is
try to set insert identity ON for every...
August 24, 2012 at 3:16 pm
Viewing 15 posts - 106 through 120 (of 130 total)