Viewing 15 posts - 1,516 through 1,530 (of 6,036 total)
IF OBJECT_ID('tempdb..#PartsList', N'U') IS NOT NULL
BEGIN
DROP TABLE #PartsList;
END;
GO
CREATE TABLE #PartsList
(
PartId INT...
April 7, 2016 at 8:11 pm
What you actually search for is a string pattern within a number represented as a string using decimal notation.
Therefore you'll be better off having PartNumber stored as a string and...
April 7, 2016 at 7:59 pm
Siten0308 (4/7/2016)
so i am inserting 1014193 rows, and it made a 175gig temp db data files grow
Every record must fit into a single data page.
A data page is 8K.
1...
April 7, 2016 at 6:32 pm
SELECT top 10 * from XYZ x
WHERE EXISTS (SELECT * FROM ABC a
WHERE a.Col2 = x.Col1
AND (Col3>date OR Col4>date OR Col5>date)
)
For this query (any version of it) to perform well...
April 7, 2016 at 5:22 pm
DesNorton (4/5/2016)
This app and DB are still in dev, and have not yet been published to...
April 5, 2016 at 4:46 pm
John Rowan (4/5/2016)
I always prefer a non-comma delimited file. Pipes are nice, tilde is nice too.
Unless those characters are used for something else.
I used to import catalogue files...
April 5, 2016 at 4:37 pm
Jeff Moden (4/4/2016)
,NumPart = CAST(SUBSTRING(ID,1,SplitPos-1) AS INT)
It will return the same zero value for "0A" and "A".
I do not...
April 4, 2016 at 10:50 pm
Following data normalization rules actually helps.
If numeric and alphabetic parts of the values are meant to be processed separately then they must be stored in separate columns.
If you cannot make...
April 4, 2016 at 7:49 pm
andrea.dimaio (4/4/2016)
this counter GO DOWN. So it means that :
- we have an external...
April 4, 2016 at 6:09 pm
nadersam (3/31/2016)
I have updated statistics for both database for those 3 tables.
The view still taking 3 sec...
April 3, 2016 at 11:31 pm
JediSQL (4/1/2016)
April 3, 2016 at 5:28 pm
Luis Cazares (4/1/2016)
Sergiy (3/31/2016)
GilaMonster (3/31/2016)
snomadj (3/31/2016)
Can I drop a local temp table owned by myself in another session?
No. Temp tables are session-scoped, you cannot access a temp table created in...
April 3, 2016 at 5:18 pm
drew.allen (3/31/2016)
March 31, 2016 at 8:43 pm
drew.allen (3/31/2016)
March 31, 2016 at 8:10 pm
GilaMonster (3/31/2016)
snomadj (3/31/2016)
Can I drop a local temp table owned by myself in another session?
No. Temp tables are session-scoped, you cannot access a temp table created in another session, not...
March 31, 2016 at 5:25 pm
Viewing 15 posts - 1,516 through 1,530 (of 6,036 total)