Viewing 15 posts - 5,911 through 5,925 (of 8,753 total)
Quick thought, it may be worth looking into splitting the table in two, one for the "Tasks" and another for the "Process attempts", so instead of updating the column a...
March 29, 2015 at 3:55 am
Quick note, you need to post more information, this is not enough!
😎
March 29, 2015 at 2:45 am
March 29, 2015 at 2:09 am
joeshu26 (3/27/2015)
Hello,When I try to attach the Adventureworks file from CodePlex, it doesn't show up in the folder I extracted it to. Does anyone have any recommendations?
Thank you,
Joe
This...
March 29, 2015 at 2:06 am
What the code example demonstrates is that even if the error message is passed up to the application, it wouldn't make much of a difference as the cursor will still...
March 29, 2015 at 2:00 am
Quick suggestion, use the MERGE (Transact-SQL) statement
😎
March 29, 2015 at 1:47 am
Welsh Corgi (3/28/2015)
Lowell,I have googled and googled.
I can't find one.
Do you have a link to one that works?
Thanks.
First result I got was A Better sp_who2 using DMVs (sp_who3)
😎
On the tin...
March 29, 2015 at 1:27 am
Quick and simple solution, the problem is trivial if broken down into iteration by the different orders of magnitude, that is 1000 => 1 - 9, 100 => 1 -...
March 29, 2015 at 1:18 am
mahikero (3/28/2015)
If I try to connect to ServerName\I01, I get the error below.
"A network-related or instance-specific error occured while establishing a connection to SQL Server.
The server was not found...
March 29, 2015 at 12:34 am
Quick thought, you may want to re-think the error handling in the stored procedure, consider this code
😎
USE tempdb;
GO
SET NOCOUNT ON;
GO
IF OBJECT_ID(N'dbo.TBL_SAMPLE_RESULT') IS NOT NULL DROP TABLE dbo.TBL_SAMPLE_RESULT;
CREATE TABLE dbo.TBL_SAMPLE_RESULT
(
...
March 28, 2015 at 6:47 am
Jeff Moden (3/27/2015)
ScottPletcher (3/27/2015)
Eirikur Eiriksson (3/27/2015)
ScottPletcher (3/27/2015)
Just add them and SQL will implicitly convert the varchar to a datetime anyway:SELECT datetime_column + time_varchar AS new_datetime, ...
FROM ...
Until the locale driven...
March 28, 2015 at 4:36 am
Quick point, there is a hidden speed trap in the XML concatination, consider this code
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.TBL_SAMPLE_DIAG') IS NOT NULL DROP TABLE dbo.TBL_SAMPLE_DIAG;
CREATE TABLE dbo.TBL_SAMPLE_DIAG
(
...
March 28, 2015 at 3:25 am
ScottPletcher (3/27/2015)
Just add them and SQL will implicitly convert the varchar to a datetime anyway:SELECT datetime_column + time_varchar AS new_datetime, ...
FROM ...
Until the locale driven implicit conversion starts to produce...
March 27, 2015 at 10:24 am
SQLRNNR (3/27/2015)
Brandie Tarvin (3/27/2015)
Eirikur Eiriksson (3/27/2015)
My Friday fun version:rolleyes:
IF EXISTS (SELECT 1 FROM (VALUES(CAST(1 AS BIT))) d (n)) SELECT 1 FROM sys.all_columns X,sys.columns Y,sys.computed_columns Z
AWESOME!!!!!!!
Yes you can certainly get a...
March 27, 2015 at 10:15 am
Viewing 15 posts - 5,911 through 5,925 (of 8,753 total)