Viewing 15 posts - 2,011 through 2,025 (of 8,731 total)
Chris Harshman (10/21/2016)
Talvin Singh (10/21/2016)
the first line are categories, which were created with case statements egcount(case when [order line] = 1 then 1 end) [1]
Maybe I'm missing something, I'd...
October 21, 2016 at 11:36 am
Ed Wagner (10/21/2016)
Manic Star (10/21/2016)
Ray K (10/21/2016)
Ed Wagner (10/21/2016)
Revenant (10/21/2016)
Ed Wagner (10/21/2016)
djj (10/21/2016)
Luis Cazares (10/21/2016)
crookj (10/21/2016)
Hugo Kornelis (10/21/2016)
Ed Wagner (10/21/2016)
BWFC (10/21/2016)
Ed Wagner (10/21/2016)
djj (10/21/2016)
Stuart Davies (10/21/2016)
Ed Wagner (10/20/2016)
TomThomson (10/20/2016)
Ray K...
October 21, 2016 at 11:28 am
First, be sure to understand backup and restore. Then make sure that's working fine.
Then, get this book (the pdf is free): http://www.sqlservercentral.com/articles/books/76296/
October 21, 2016 at 8:07 am
So, the question remains. Do you need any more help?
The information that you need come from the system views (sys.schemas, sys.tables, sys.columns, sys.types) or the information_schema views (which I...
October 21, 2016 at 7:57 am
crookj (10/21/2016)
Hugo Kornelis (10/21/2016)
Ed Wagner (10/21/2016)
BWFC (10/21/2016)
Ed Wagner (10/21/2016)
djj (10/21/2016)
Stuart Davies (10/21/2016)
Ed Wagner (10/20/2016)
TomThomson (10/20/2016)
Ray K (10/20/2016)
Revenant (10/20/2016)
PennyNickel
Nickelodeon
Cartoon
Strip
Stripper (as in paint)
Scrape
Shell
Command
Conquer
GDI
GUI
October 21, 2016 at 7:36 am
BLandry474 (10/21/2016)
October 21, 2016 at 7:31 am
Perhaps something like this can help you start?
SELECT 'SELECT * FROM ' + t.TABLE_SCHEMA + '.' + t.TABLE_NAME
+ ' WHERE ' + STUFF(( SELECT ' OR...
October 20, 2016 at 2:43 pm
PasLe Choix (10/20/2016)
Select CutoffMonth,
ROW_NUMBER() OVER(ORDER BY [ProjectName] ASC) AS ProjectID, [Employee Number],
'Nov 2015',
'Dec 2015',
'Jan 2016',
TotalHRSWORKED, HourlyRate
From (Select distinct
CutoffMonth,
[ProjectName],
[Employee Number],
SUM(CASE WHEN [Mois Imputé:Cutoff Month]='Nov 2015' THEN...
October 20, 2016 at 1:37 pm
PasLe Choix (10/20/2016)
Thank you very much for your quick reply, for unknown reason, the sum produces only CutoffMonth itself like 'Jan 2016', 'Feb 2016' instead of actually summed numbers.
I have...
October 20, 2016 at 1:33 pm
HappyGeek (10/20/2016)
Grumpy DBA (10/20/2016)
Manic Star (10/20/2016)
djj (10/20/2016)
Ed Wagner (10/20/2016)
Grumpy DBA (10/20/2016)
Ed Wagner (10/20/2016)
djj (10/20/2016)
StationPlay
Mate
Australia
Dingo
Baby
Meryl
Streep
Street
October 20, 2016 at 1:31 pm
Here's an example on what you might need. The explanation can be found in the following article:
http://www.sqlservercentral.com/articles/T-SQL/63681/
It's incomplete and untested, so you need to complete it and test the results...
October 20, 2016 at 1:13 pm
That's a weird requirement. What's the story behind this?
Here's a shorter alternative which I expect that might be a bit faster (not much).
WITH numbers AS
(
SELECT ROW_NUMBER()...
October 20, 2016 at 10:29 am
Brandie Tarvin (10/20/2016)
Luis Cazares (10/20/2016)
mister.magoo (10/20/2016)
October 20, 2016 at 9:46 am
You can check this: https://www.microsoft.com/en-us/sql-server/sql-server-editions
That also links to the more detailed document here: https://msdn.microsoft.com/en-us/library/cc645993.aspx
October 20, 2016 at 9:13 am
Brandie Tarvin (10/20/2016)
jasona.work (10/20/2016)
Brandie Tarvin (10/20/2016)
I don't quite feel your pain, but I'm in the midst of migrating a handful of DBs to a new server. One is ~134GB...
October 20, 2016 at 8:33 am
Viewing 15 posts - 2,011 through 2,025 (of 8,731 total)