Viewing 15 posts - 9,271 through 9,285 (of 26,490 total)
You want something like this:
-- Setup test table
create table #TestData (
LogKeyID int,
CreateDate datetime,
OrgKeyID int,
...
November 22, 2012 at 11:27 am
jgenovese (11/21/2012)
DDL attached, we are not able to provide sample data, per my boss's instructions:"Everything but sample data. Column definition should allow them to generate what they need"
Just so you...
November 21, 2012 at 11:29 am
Simplest answer, it depends. Most likely, yes, if done correctly. Hard to tell you with just the info provided.
November 20, 2012 at 8:43 pm
I'm not sure what you are asking here. OTAP makes no sense to me.
November 20, 2012 at 8:41 pm
To be honest, there really isn't enough information in your post to provide a decent answer. Could you provide us with a clearer explaination of what it is you...
November 20, 2012 at 7:55 pm
Jon.Morisi (11/20/2012)
Just setting up Vendor software that has the requirement. SharePoint uses a non-default collation as well.http://msdn.microsoft.com/en-us/library/ms188046.aspx
http://www.sqlservercentral.com/Forums/Topic647177-146-1.aspx#bm647387
Yep, been there, done that.
PeopleSoft requires using Latin1_General_BIN as its collation.
November 20, 2012 at 7:52 pm
Jon.Morisi (11/20/2012)
November 20, 2012 at 6:39 pm
Who said I didn't need a QB? I got beat by a QB. Had NFL Soldiers QB just MADE his projection, I would have won, but no, he...
November 20, 2012 at 6:33 pm
jgenovese (11/20/2012)
thats all the code for the misbehaving query, moot point anyway as no code is changing until we figure out what went wrong that day
Rechecked what you posted, sorry,...
November 20, 2012 at 6:17 pm
Eugene Elutin (11/20/2012)
declare @email varchar(100) = 'Doe.John@CompanyABC.com'
SELECT
SUBSTRING(@email, 1, CHARINDEX('.', @email) - 1),
...
November 20, 2012 at 6:03 pm
jgenovese (11/20/2012)
This was literally a "switch-flip" -- the query run time doubled exactly right after I made the changes noted in my original post
(note: on that day I rebuilt...
November 20, 2012 at 2:46 pm
SQL SERVER ROOKIE (11/20/2012)
David,Thanks for your help.
This thread was created for concatenating 2 derived columns..if you read the subject of my previous thread ,its something else.
Thanks
SM
The title of...
November 20, 2012 at 1:22 pm
Ratheesh.K.Nair (11/20/2012)
Values are deleted from a master table and inserting into a another table.
Smaller chunks in the sense changing the...
November 20, 2012 at 7:07 am
If you want to see some more date calculations, look here:
http://www.sqlservercentral.com/blogs/lynnpettis/2009/03/25/some-common-date-routines/
November 19, 2012 at 12:38 am
Simple:
declare @ThisDate datetime;
set @ThisDate = getdate();
select @ThisDate, dateadd(qq, datediff(qq, 0, @ThisDate), -1);
set @ThisDate = '20120507';
select @ThisDate, dateadd(qq, datediff(qq, 0, @ThisDate), -1);
November 19, 2012 at 12:37 am
Viewing 15 posts - 9,271 through 9,285 (of 26,490 total)