Viewing 15 posts - 5,416 through 5,430 (of 8,753 total)
Jeff Moden (5/2/2015)
Eirikur Eiriksson (5/2/2015)
Quick suggestion, use the GETDATE() function in T-SQL😎
Heh... it wouldn't be "quick" though because it wouldn't be SARGable if the same formula the OP used were...
May 2, 2015 at 8:50 am
KGJ-Dev (5/1/2015)
thanks for your reply.
I Eirik,
before i though of posting on this forum, i thought about using Jeff's delimit function what you have suggested. But i am sorry that...
May 2, 2015 at 8:43 am
polkadot (5/1/2015)
Have read this article and tried suggestions: http://stackoverflow.com/questions/10888616/why-is-ssis-complaining-that-there-is-a-partial-row-at-the-end-of-the-file
have read this KB article stating it is a known bug with a SP fix for 2005...
May 2, 2015 at 8:37 am
Quick example
😎
USE tempdb;
GO
SET NOCOUNT ON;
GO
/* SMALLINT MAX = 65535 */
DECLARE @SAMPLE_SIZE INT = 65535;
;WITH T(N) AS (SELECT N FROM (VALUES (NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL),(NULL)) AS X(N))
, NUMS(N)...
May 2, 2015 at 8:09 am
TomThomson (5/1/2015)
Revenant (5/1/2015)
Ed Wagner (5/1/2015)
whereisSQL? (5/1/2015)
Eirikur Eiriksson (5/1/2015)
Ed Wagner (5/1/2015)
Eirikur Eiriksson (5/1/2015)
crookj (5/1/2015)
SQLRNNR (5/1/2015)
totemTikki
Raita
Yogurt
Skyr
Lactose
Milk
Run
away
Train
May 2, 2015 at 5:05 am
Quick suggestion, generate the sequential bits separately and use the stuff function to merge it into the guid.
😎
May 2, 2015 at 5:03 am
Quick thought, schema qualify the table name by adding the schema name + dot prefix.
😎
May 2, 2015 at 4:55 am
Quick suggestion, use the GETDATE() function in T-SQL
😎
May 2, 2015 at 4:41 am
For fun, yet another solution
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID('dbo.TBL_SAMPLE_PARSE') IS NOT NULL
DROP TABLE dbo.TBL_SAMPLE_PARSE
CREATE TABLE dbo.TBL_SAMPLE_PARSE
(
SP_ID INT IDENTITY(1,1) NOT NULL ...
May 2, 2015 at 3:10 am
Quick solution, should be self explanatory (I'll add comments if I'll get the time;-))
😎
USE tempdb;
GO
SET NOCOUNT ON;
IF OBJECT_ID(N'dbo.Test_ROADS') IS NOT NULL DROP TABLE dbo.Test_ROADS;
CREATE TABLE dbo.Test_ROADS
(
Hwy...
May 2, 2015 at 2:30 am
Jeff Moden (5/1/2015)
It's clever but I have to disagree with that being a good example of a "Read Only Try/Catch" because it returns two result sets instead of just one....
May 1, 2015 at 11:44 pm
Ed Wagner (5/1/2015)
Eirikur Eiriksson (5/1/2015)
crookj (5/1/2015)
SQLRNNR (5/1/2015)
totemTikki
Raita
Yogurt
Skyr
May 1, 2015 at 1:09 pm
Jeff Moden (5/1/2015)
May 1, 2015 at 1:04 pm
Eric M Russell (5/1/2015)
Eirikur Eiriksson (5/1/2015)
Eric M Russell (5/1/2015)
Eirikur Eiriksson (5/1/2015)
Eric M Russell (5/1/2015)
May 1, 2015 at 12:56 pm
diogo_1984 (5/1/2015)
ALTER PROCEDURE
@product = ' 'ORANGE LEMON'...
May 1, 2015 at 12:15 pm
Viewing 15 posts - 5,416 through 5,430 (of 8,753 total)