Viewing 15 posts - 21,586 through 21,600 (of 59,072 total)
Henk Schreij (2/6/2015)
I have SqlServer 2012 on my developper machine, but the production machine is 2005 :crying:.
Now I gona try to fit my query...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2015 at 8:40 pm
Eirikur Eiriksson (2/6/2015)
😎
USE tempdb;
GO
IF...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2015 at 8:39 pm
Heh... for me, the correct answer isn't available, which is "Don't worry about it because if it's to do something in SQL, then it's likely that you're using the wrong...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2015 at 6:52 am
jdbrown239 (2/5/2015)
I am running an update against a table with over 100,000,000 rows which takes forever. Is there a better way to write a query like this?
UPDATE [dbo].[Test_Table]
SET [Column_34] =(
CASE
WHEN...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 5, 2015 at 9:21 pm
Jim Youmans-439383 (2/4/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 5, 2015 at 9:34 am
ScottPletcher (2/5/2015)
Jeff Moden (2/4/2015)
RamSteve (2/4/2015)
That's one solution but it relies on @@DATEFIRST which is subject to change based on selected language and other things. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 5, 2015 at 9:26 am
mister.magoo (2/5/2015)
Hi Jeff,I have one also that handles A, B and C
Absolutely awesome! I could be wrong but it doesn't look like it would handle the "SHIFT", "CODE", and...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 5, 2015 at 8:35 am
a_ud (2/17/2011)
The way the barcode functions...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 4, 2015 at 11:44 pm
Ewan Hampson (4/8/2013)
The way the barcode functions work is always the same: you pass a string with the source code ('bananas') and you get the coded barcode string ( ÑbananasÈÓ,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 4, 2015 at 9:46 pm
a_ud (6/26/2014)
The VBA code attached to my 1st message works and it's not that difficult to translate to other languages.
If that were true, you wouldn't be asking for help, now...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 4, 2015 at 9:40 pm
BCP cannot import .XLS (Excel spreadsheet) files... period. If you're trying to import a spreadsheet to SQL Server via T-SQL, you need to use the "ACE" drivers and either...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 4, 2015 at 8:30 pm
RamSteve (2/4/2015)
The Solution is as belowSELECT CONVERT(VARCHAR,DATEADD(yy, -@x, DATEADD(D, -((@@DATEFIRST + DATEPART(DW, DATEADD(yy,-@x ,GETDATE()) ) -3) % 7), GETDATE())) ,23)
That's one solution but it relies on @@DATEFIRST which is...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 4, 2015 at 6:37 pm
New Born DBA (2/4/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 4, 2015 at 3:52 pm
Sean Lange (2/4/2015)
Sioban Krzywicki (2/4/2015)
Sean Lange (2/4/2015)
Sioban Krzywicki (2/4/2015)
Grant Fritchey (2/4/2015)
Eirikur Eiriksson (2/4/2015)
Sioban Krzywicki (2/4/2015)
Grant Fritchey (2/4/2015)
Brandie Tarvin (2/4/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 4, 2015 at 3:47 pm
New Born DBA (2/4/2015)
Lowell (2/4/2015)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 4, 2015 at 10:48 am
Viewing 15 posts - 21,586 through 21,600 (of 59,072 total)