Viewing 15 posts - 4,801 through 4,815 (of 8,761 total)
ravi@sql (8/6/2015)
Am converting varchar field to float and summing using group by and next inserting to varchar field(table).
while inserting float value it is converting to exponential ex:1.04177e+006
but if i...
August 6, 2015 at 1:31 am
Eddie Wuerch (8/5/2015)
USE master;
GO
EXEC sp_helptext 'fn_varbintohexstr';
GO
Reveals the source code:
create function sys.fn_varbintohexstr
(
@pbinin varbinary(max)
)
returns nvarchar(max)
as
begin
return...
August 6, 2015 at 12:30 am
Manic Star (8/5/2015)
Is there...
August 6, 2015 at 12:24 am
No need to handle the numbers as a string, just select from the table where it is less than the next value up.
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo..#temp') IS NOT NULL...
August 6, 2015 at 12:09 am
alark (8/5/2015)
We have SSIS packages deployed and scheduled on SQL_Server_A. The packages have to access databases on SQL_Server_B, which is behind a firewall.
Question: would opening only SQL port...
August 5, 2015 at 11:34 pm
Further on Kevin's and Luis's answers, optimizing this code to half the execution time should not be too hare, neither getting under one second but this takes some time, do...
August 5, 2015 at 2:07 pm
Sean Lange (8/5/2015)
August 5, 2015 at 2:00 pm
Luis Cazares (8/5/2015)
Eirikur Eiriksson (8/5/2015)
SQLRNNR (8/5/2015)
Sean Lange (8/5/2015)
Ed Wagner (8/5/2015)
Just don't forget to drop the database when the interview is over. 😉
Or just create the objects in tempdb. :hehe:
Or better...
August 5, 2015 at 1:42 pm
SQLRNNR (8/5/2015)
Sean Lange (8/5/2015)
Ed Wagner (8/5/2015)
Just don't forget to drop the database when the interview is over. 😉
Or just create the objects in tempdb. :hehe:
Or better yet - don't forget...
August 5, 2015 at 1:19 pm
Ed Wagner (8/5/2015)
Jack Corbett (8/5/2015)
August 5, 2015 at 9:38 am
Luis Cazares (8/5/2015)
Eirikur Eiriksson (8/5/2015)
Brandie Tarvin (8/5/2015)
I'll be in the back of the Tent in the Desert, crying my eyes out for...
August 5, 2015 at 8:42 am
DBAMike (8/5/2015)
I have a simple SP that returns 2 columns with 4...
August 5, 2015 at 6:38 am
Quick example, should be enough to get you passed this hurdle
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @TXML XML = N'<worksheet name="All itemss Totals">
<layout-options>
<title>
<formatted-text>
<run fontalignment="2" fontcolor="#ffffff">finance</run>
</formatted-text>
</title>
</layout-options>
<repository-location derived-from="www.xyz.com/test" id="AllitemssTotals" path="/workbooks/SubitemsActivity" revision="" />
<table>
<view>
<datasources>
<datasource caption="Allitemss" name="sqlserver.42074.554624143515"...
August 5, 2015 at 6:19 am
Brandie Tarvin (8/5/2015)
I am shattered, y'all. Just shattered.I'll be in the back of the Tent in the Desert, crying my eyes out for a while.
c'est la vie
😎
August 5, 2015 at 5:49 am
Viewing 15 posts - 4,801 through 4,815 (of 8,761 total)