Viewing 15 posts - 2,581 through 2,595 (of 10,144 total)
aaron.reese (11/14/2014)
March 13, 2015 at 7:36 am
measterbro (3/12/2015)
March 13, 2015 at 3:55 am
chef423 (3/11/2015)
Ticket Table Test Data
SELECT '66517','0','Deu Bank','1386.00','203.74','0.00','1866.94','1866.94','277.20','NULL','NULL','205','2014-06-25 17:03:31.407','2014-06-25 22:21:12.120','1','NULL','NULL','NULL','205','0','0','205','NULL','154','1386.00','203.74','2679','1753-01-01 00:00:00.000','22','0','7','0','0','0.00','1','NULL','53292974-1149-4AEE-B8C9-1BE0990A989F','0x000000000177F502','2014-06-25 19:56:55.633','NULL','0','FullyPaid','0.00','0','NULL','NULL'
Msg 213, Level 16, State 1, Line 2
Column name or number of supplied values does not match table definition.
You're not...
March 12, 2015 at 7:59 am
TSQL Tryer (3/11/2015)
select officer_code
,department
,eff_date
,CASE WHEN LEAD (eff_date-1, 1, 0) OVER (PARTITION BY officer_code ORDER BY eff_date) =...
March 11, 2015 at 4:42 am
chef423 (3/8/2015)
Caveat:[/u] The WHERE clause cannot be used in writing this Query as it is used to determine the time span of the report by a line called WHERE %PARAMS%,...
March 11, 2015 at 2:46 am
rodjkidd (3/10/2015)
Eirikur Eiriksson (3/10/2015)
rodjkidd (3/9/2015)
Eirikur Eiriksson (3/9/2015)
Grant Fritchey (3/9/2015)
And, I got to meet Gianluca and Eirikur for the very first time. Total pleasure gentlemen....
March 10, 2015 at 4:39 am
dwain.c (3/10/2015)
Rather to see if anybody has ever seen this "short-circuiting...
March 10, 2015 at 2:49 am
Grant Fritchey (3/9/2015)
ChrisM@Work (3/9/2015)
The optimiser has difficulty with more than seven or eight tables in the FROM list regardless of how they are joined. More than that and you are...
March 9, 2015 at 6:55 am
This ON clause will generate an error as it breaks at least two syntax rules:
JOIN dbo.PeriodDefinition AS pd
ON CAST(t.dt_close_time AS time) BETWEEN CAST(pd.dt_start AS time) CASE when i_period_definition_id =...
March 9, 2015 at 6:40 am
Bouke Bruinsma (3/8/2015)
March 9, 2015 at 6:33 am
laurie-789651 (3/4/2015)
BWFC (3/4/2015)
Ed Wagner (3/4/2015)
djj (3/4/2015)
psingla (3/4/2015)
Woot!Woot!
Cheer
Wine
Vino
You're bored, mate. Beer sometime?
March 4, 2015 at 5:55 am
A table displaying the required results would be helpful.
Try this:
;WITH RunningTotal AS (
SELECT
a.id, a.account, a.deposit, b.Budget,
[Total] = SUM(a.deposit) OVER (PARTITION BY a.account ORDER BY a.id)
FROM #TestData a
INNER JOIN...
March 4, 2015 at 5:21 am
karthik82.vk (3/3/2015)
I have created a function that will check whether the data is null or not. If its null then it will display that as No data else it will...
March 4, 2015 at 4:44 am
There are NULLs in your data. Try this:
SELECT 'SELECT '
+ ISNULL(QUOTENAME(user_name,''''),'NULL') + ','
+ ISNULL(QUOTENAME(date_of_change,''''),'NULL') + ','
...
March 2, 2015 at 9:18 am
Viewing 15 posts - 2,581 through 2,595 (of 10,144 total)