Viewing 15 posts - 46 through 60 (of 108 total)
ScottPletcher (8/29/2014)
amns (8/29/2014)
Instead of a datetime, if I cast a string with format 'yyyy-MM-dd',
will this cast always result in the correct date regardless the collation or other server parameters? (considering...
September 1, 2014 at 12:06 pm
If I understand you correctly this should be quite easy.
I understood that you want to have second detail row for val5 for each detail row. If this is correct then...
August 28, 2014 at 11:16 pm
jkurzner (8/24/2014)
August 24, 2014 at 3:03 pm
arnold-491793 (6/9/2014)
I am having a problem in creating query for this exciting scenario.
Table A
ID ItemQtyCreatedDatetime
W001 CB112014-06-03 20:30:48.000
W002 CB112014-06-04 01:30:48.000
Table B
IDItemQtyCreatedDatetime
A001 CB112014-06-03 19:05:48.000
A002 CB112014-06-03...
June 9, 2014 at 10:30 pm
yuvipoy (5/13/2014)
I checked the table with the fragmentation so i ran the dbcc dbreindex (we can ran the alter command also but...
May 13, 2014 at 11:42 pm
I split file with 7 zip to smaller peaces and move them with multiple xcopy commands over rdp session.
This way I am able to continue if connection drops.
May 13, 2014 at 11:52 am
Paul White (5/12/2014)
Ville-Pekka Vahteala (5/12/2014)
May 12, 2014 at 11:36 am
I remember reading blog post or article about calculating running total so that you needed to fetch only the last row. It involved some extra column for referential integrity. I...
May 12, 2014 at 5:13 am
At the moment I've got dual 21, but wanting triple. Normally I got at least 3 rdp sessions to servers.
May 11, 2014 at 11:55 am
What happens if You change variable declaration to
Declare @BeginDt as bigint = 20140101
Declare @EndDt as bigint = 20140430
Declare @LotNo as nvarchar(15) = N' 000000113855'
and execute query after the change. Especially...
May 6, 2014 at 10:31 pm
Brandie Tarvin (4/25/2014)
April 25, 2014 at 11:26 am
SQLBill (4/8/2014)
Jack Corbett (4/6/2014)
April 8, 2014 at 11:39 am
GilaMonster (4/2/2014)
Guideline for python code:
"Explicit is better than implicit"
I can agree with that, it's something I argue for when teaching T-SQL. Be explicit.
Then, from the style guide for python:
Bad form:
if...
April 2, 2014 at 9:34 am
Following query does the job, however it is not very efficient because it will not use spatial index.
select geom from tablea as source where exists (select * from tablea...
March 31, 2014 at 3:29 am
TomThomson (3/28/2014)
Ville-Pekka Vahteala (3/27/2014)
Luis Cazares (3/27/2014)
I'm afraid that this database is full of these pieces of sh code...
March 28, 2014 at 1:37 pm
Viewing 15 posts - 46 through 60 (of 108 total)