« first day (780 days earlier)      last day (4386 days later) » 
01:00 - 23:0023:00 - 00:00

01:16
who the F*CK makes "TaxID" a BIGINT?
@jcolebrand if that's the biggest sin in the data model you're looking at, consider yourself lucky
@AaronBertrand it's the biggest sin I have right now, yes
0
A: Graph Database with "non-graph" data

Chris TraversI think you are making a fairly common mistake here by selecting NoSQL technologies in order to be "future-proof" without understandng the tradeoffs. If in doubt start with PostgreSQL and figure you can always set up a graph db or other NoSQL db on the side as you need it. Also you can do graph...

The guy wants to move to NoSQL because he is thinking it will be more "future-proof" than going with a relational system :-P
@AaronBertrand am I really just like the world's dumbest programmer to think that would be one of the first things a developer should learn, especially before writing banking software?
@jcolebrand data types are important but like I said there are much greater sins
01:30
@AaronBertrand not so much a datatype issue but just understanding the basic structure of tax IDs in general
I mean, that should be taught in HS, in my opinion. It's one of the great underpinnings of our Western society, no?
@jcolebrand um, well if a tax ID contains dashes or alphanumerics, it is the wrong data type
Then again, if folks knew what SSNs were, and what they were used for, it would probably cut down a lot on piracy, or up it, I'm not sure which.
@AaronBertrand Precisely.
@jcolebrand I wonder how many high school teachers know much more about their computers than how to check their e-mail
  001-003 NH    400-407 KY    530     NV
  004-007 ME    408-415 TN    531-539 WA
  008-009 VT    416-424 AL    540-544 OR
  010-034 MA    425-428 MS    545-573 CA
  035-039 RI    429-432 AR    574     AK
  040-049 CT    433-439 LA    575-576 HI
  050-134 NY    440-448 OK    577-579 DC
  135-158 NJ    449-467 TX    580     VI Virgin Islands
  159-211 PA    468-477 MN    581-584 PR Puerto Rico
  212-220 MD    478-485 IA    585     NM
  221-222 DE    486-500 MO    586     PI Pacific Islands*
  223-231 VA    501-502 ND    587-588 MS
I just mean that chart
Knowing that the SSN was originally provided based on where you live is fairly easy to grasp, and fundamental.
We can around to left-padded zero's later. I'm just curious how many people know that
 
1 hour later…
02:35
@jcolebrand Exactly, I mean why use a bigint when you can store it more cost effectively in a numeric(9,0), like we do. Sometimes
@billinkc SRSLY?
One sad, sad thing that I will not regret when I leave this place is the absolute WTFery with regard to data types and names
And in this particular case I'm just peachy keen to use two fields to store it. One as a CHAR (9) and one as a VARCHAR(11) (to capture how they may have entered it for display purposes)
@jcolebrand We have registration lines 1-7, 35 characters, not varchar, to hold client name and address data. Which of those fields and what order that data is in is anyone's guess
But of course, other departments would like to do something with that data so we get to polish that same turd data everytime we pull it out for anything to try and identify name vs address vs company
We are data heavy, information poor
Indeed
03:09
I need one more close vote..
1
Q: column accepting number out of range mentioned in CHECK

radI tried the following query but it still accepts numbers outside the range of 1 - 9999 CREATE TABLE test(id INT PRIMARY KEY, CHECK (id BETWEEN 1 and 9999) ); What am I missing?

It's dead Jim
 
1 hour later…
04:24
Thanks. Who's Jim?
@AarolamaBluenk from Star Trek.
Captain James Tiberius Kirk
James -> Jim
that's a common English nickname(?) ... I'm sure there's a better word for that substitution
 
3 hours later…
06:57
one more reason not to use MySQL I guess. You think you got the check constraint in there but it is not in fact used....
07:29
Ugg, look at this guy's comment saying he thinks that providing the query that's slow would not be relevant :-P
0
Q: postgres query with high cpu taking ages to run

Tada.wavI have a web application that runs off PHP and a postgres backend (9.1). Most of the heavy DB lifting work is done via postgres stored procedures. One of the processes in the app is an import data routine. The stored procedure is quite intensive on import but whilst developing it can import my ...

08:08
@AarolamaBluenk It's not an exact duplicate.
gbn
gbn
Morning all
morning all
Wondering what people thing about whether it would be worth looking at the Q/A site sybase runs and providing a summary of the answer this guy cross-posted in this (same question, he was directed in comments to post there, and he got an answer there and not here):
11
Q: Sql Anywhere 11: Restoring incremental backup failure

AJG85We want to create remote incremental backups after a full backup. This will allow us to restore in the event of a failure and bring up another machine with as close to real time backups as possible with SQL Anywhere network servers. We are doing a full backup as follows: dbbackup -y -c "eng=Se...

The link on "migrated from serverfault.com Jan 22 '12 at 9:44" sends to "Page Not Found". That's weird.
09:15
Hehe, a rather funny spelling mistake: SELECT * FROM test WEETH (NOLOCK)
The funny is that it still works.
09:57
I see you had fun yesterday
so I first decided to become Артём Дэжионов for a while
but the I realized that this name will appear on my older contributions as well (and so may insult the real Артём)
Anyhow, (do you hear, @AarolamaBluenk?) one can always redo the name change logging into an other SE profile and setting the display name there (as I was taught by some enlightened people here)
 
1 hour later…
11:30
Quiet today.
at least so far. the overseas crowd always make a big noise here :)
Looks
@Phil are you intimidated by the old ones?
(I mean looks at job listings?)
12:06
@dezso @AarolamaBluenk: As @dezso says. If the name has been changed in all SE accounts, you can always register at another SE site (and then change again the name).
12:51
morning
13:29
I feel so alone this morning...so I will talk to myself in here..
@bluefeet morning :-)
JNK
JNK
morning
it was kind of quiet in here
JNK
JNK
it often is this time of day
gbn
gbn
I'm snoozing at my desk. Pizza for lunch and a big **** off Indian meal last night
13:34
looks like the (mainly) European guys work at this time of day
gbn
gbn
@dezso Au Contraire today
@dezso I was late this morning.
@bluefeet didn't dare saying it myself :)
@gbn yesterday we went to friends for having a quiet chitchat and a few beers
@dezso I decided to sleep and slack off with no run this morning.
gbn
gbn
@bluefeet I have a 21 km walk-a-thon on Sunday
13:37
now that I'll leave Budapest in a little more than a week, about 15 further friends dropped in
I had to drink a lot, so I'm not at top speed either
@gbn that's great. I have no races planned right now
gbn
gbn
@dezso where are you going? (sorry if yo've already posted this before)
@gbn Berlin
gbn
gbn
@bluefeet aint a race :-) A nice country stroll
@dezso heard it's nice. Not been yet myself. We were planning on going to Budapest this year for a trip too
@gbn I bet not in a straight line, otherwise it would be called a walk-a-swim-a-thlon
gbn
gbn
13:40
@dezso I would fall off the edge of malta, true
@gbn if you need insider tips then contact me
gbn
gbn
@dezso will do. ta. Mostly for good food and see the history
@gbn that is a long country stroll.
JNK
JNK
can someone who knows about postgres tell me if this is on topic?
0
Q: Undefined reference to my function

DarkCoffeeI'm working on a project on postgresql 8.4 server side. I'm adding some functionality in order to store some query informations. I need to call two functions (start_create_profile() and check()) inside of exec_simple_query in postgres.c These functions are written by me in a file called test.c i...

@JNK I think I already voted as OT 'cause I think it is OT
JNK
JNK
13:50
Seems like a C question maybe
not a DB question
but I don't know anything about compiled code in PG
'undefined reference' sounds like an include problem (or I'm terribly stupid)
Ugh This is no way to start my day "I updated almost every single column with varchar on table1 AND table2 table to be varchar (max)"
JNK
JNK
@billinkc oh good
And they found an article that talks about sparse columns so they applied that too. I can't make this stuff up
JNK
JNK
14:32
nice
its always fun when you can tell a new article went on like SSC or another site
"Can we look at READ ONLY DBs?"
"How about we try partitioning?"
gbn
gbn
14:49
Some for here from SF?
0
Q: Database mirroring - link failure between principal and witness

Rob WatkinsI am using synchronous database mirroring with a witness and am testing the various failure scenarios and the impact on the mirroring session, such as whether failover occurs. Starting with the principal, mirror and witness all being connected I break the link between the principal and witness (...

0
Q: How to configure MSSQL Database Mail to send attachments

Amd4632I previously had Database Mail configured to send out e-mails and it was working without any issues. I now need to be able to send attachments and I am getting an error. This is what I've done: SQL Server Agent is now being run from an domain administrator account The job that executes the st...

is it me who misses something?
@dezso just use ROUND instead of FLOOR, as Andomar suggested, and you should be all set — AlexKuznetsov 30 mins ago
@ypercube Are you trying to say you hate my new display name?
0
Q: speed button at Delhi

Ebu YusifI use the Delphi Programming language. Some where I use the speed button. If Operation System Dectop in Classic mode, then speed button normal clicked. But not classic mode, then not clicked the speed button. Also other mode`s monimize, maximize buttons not seen. Which property reason that?

Needs killing
gbn
gbn
Ping @ConcernedOfTunbridgeWells. stackoverflow.com/q/930246/27535
Fact tables and surrogate keys: yes or no? I'm 2nd guessing myself again
15:04
@gbn I've been having that exact debate with myself and google for the past month.
gbn
gbn
@MarkStorey-Smith strictly and logically, no
But... I see a use for ETL
However, I have a natural key. So bollocks, I'll use that
To date, my facts are surrogate free.
gbn
gbn
because I may have to update extant rows due to some asynch processing and feeds
question for dba.se?
0
Q: Does MS SQL Server use pointers instead of storing duplicate rows?

Dan RevellI'm using the built in sp_spaceused stored proceedure before and after performing a operation in our software to see which tables have row inserts and how the size of each table changes. What I'm seeing is that out of all the tables that get rows written to them, only a handful show that the tab...

gbn
gbn
yep
15:07
@gbn On similar lines, do you have a standard approach for surrogate keys for missing, unknown etc?
gbn
gbn
@MarkStorey-Smith er.. not got that far yet. I really am OLTP focused
focussed?
@MarkStorey-Smith I don't foresee that yet anyway in what I'm doing now which is only a PoC
@gbn For PoC work, PowerPivot is awesome
gbn
gbn
@MarkStorey-Smith indeed. Plan to use it
@AarolamaBluenk No, have you seen mine?
@ypercube Was it some russian letters?
15:14
isn't it shown now? You see "ypercube"?
Yep.
On my phone I saw some russian characters though
Maybe some problem with the UTF characters between the phone and the website.
@Υπερκύβος
I see this only checking your user profile
not in here?
nope
15:22
i didn't see it either. only after i logged out of chat and relogged in.
There it is
Ahh
@Υπερκύβος it's a cache thing. @AarolamaBluenk was still @njk on chat for a while
Interesting
@Υπερκύβος Nice. translate.google.com/#auto/en/…
ypercube folds out of the room. Bye all and have a nice weekend.
15:32
You too
@Υπερκύβος you too
15:49
I would really like to try and "fix" this question, so we can maybe ship it off to SO or something. Anyone got any thoughts on what he's trying to say?
-1
Q: speed button at Delhi

Ebu YusifI use the Delphi Programming language. Some where I use the speed button. If Operation System Dectop in Classic mode, then speed button normal clicked. But not classic mode, then not clicked the speed button. Also other mode`s monimize, maximize buttons not seen. Which property reason that?

JNK
JNK
I think closing it as was just done was correct
JNK
JNK
yes I think @PaulWhite was talking about it this week
"If the duck cannot swim it's not the water's fault"
@AarolamaBluenk Oh yes, 80% of the time it works everytime!
16:23
@bluefeet nice trick
@swasheck what trick?
@bluefeet the greek unicode font
nevermind
@swasheck he changed his name
i see @Υπερκύβος actually
@bluefeet yeah
go crazy
16:43
@JNK broken windows mate
@gbn The fact table should at least have a natural key so you can (for example) track changes against source. A surrogate key can be useful for various reasons - for example a SSAS cube tends to insist on having one. If you have anything with a 1:M or M:M relationship with the fact table (e.g.. M:M dimensions) you would definitely need a surrogate key.
gbn
gbn
@ConcernedOfTunbridgeWells yeah, I'll use the natrual key for now, Thanks
@gbn Put an identity column on the table and make sure the natural key is populated. That gives you a handy surrogate key for free.
17:01
GAH!
FWIW
http://stackoverflow.com/a/15029407/15401
@MikeFal Context?
I just found out a common practice for one of our app teams is to create stored procedures and then GRANT EXECUTE TO public on them.
@MikeFal beatings ...
@MikeFal so you're saying that's bad, right? :)
@ConcernedOfTunbridgeWells Percussive developer training, yes.
17:04
Hurray - the Dacia Sandera, no wait ..
Hurray - my highest voted 'real' answer finally caught up with the one that got linked off hacker news.
At least now I've got something other than fluff in my SO answers.
(btw please don't vote - both have been wiki for years)
@ConcernedOfTunbridgeWells I think we had to do that on one fact table. Normally we hoped that the combination of all the dimension ids would be unique, but we had one case where there literally was non-distinguishable but discrete data - don't remember but it was some kind of transaction like multiple tomatoes on a receipt and they weren't duplicates and didn't want them to be combined. Seems that there should be SOMETHING which distinguishes them in the source system but we didn't get it in the extract.
17:27
@ConcernedOfTunbridgeWells yeah, my highest voted answers all say the same thing:
> Don't guess that you're doing the fastest thing, profile for it and know that it's right. Otherwise, write maintainable code that everyone can read and support, don't be fancy.
Apparently that is both 1) not repeated often enough so that it needs to be repeated ever, 2) not intrinsically evident.
Keep it simple has always been my philosophy.
17:47
@ConcernedOfTunbridgeWells Have you done much meddling with SSAS data mining?
18:07
anyone want to translate?
0
Q: MS SQL, ASP .Net C# 4, Dataset. Какое количество записей взять?

Драгомир Девятович БутулисовЕсть в БД таблица с огромным количеством строк. Но текстово-числовая и поля не большие по заданному размеру (и по содержимому). Будем делать порционную выборку и обработку данных. Выбрали Х строк, обработали, пауза, выбрали Х строк, обработали, пауза и т.д. Обработка подразумевает: берем строку, ...

JNK
JNK
@bluefeet Where's aptem when you need him?
Someone already did it
@JNK does one ever actually need Aptem?
has anyone ever used the Management Data Warehouse for SQL Server?
VtC as too localized?
0
Q: How can I improve the efficiency of this query at a glance?

Joshua RountreeI've put an index on almost every aspect of it. In the execution plan it's showing the "STARTDATE" index is a 9% / 7% cost depending on where it's at. Any tips? SELECT A.ActivityID, A.StartDate, A.parentActivityId, DATEADD(n, 1439, A.EndDate) As EndDate, isNull((CASE isNull(A.SessionTy...

here's my big block of code....now fix it
@swasheck didn't even knew it existed
JNK
JNK
18:21
me either
@Lamak @JNK stumbled across it in a few troubleshooting whitepapers. seems like i'm going to be happier with Performance Adviser (SQL Sentry), but was also considering creating some reports for TPTB that show waits and stuff. didnt know if this was possible with MDW
@bluefeet is this a SO profile or an application to be Mr. America?
Joshua Rountree, Cincinnati, OH, United States
381 2 15
@swasheck nice
I love this comment to the question.
Pretty harsh on the down-votes, there is a lot of logic there to work with; don't see why this isn't a fair question. His effort is obviously the code itself. I guess don't ask for a quick-glance because it belittles the effort people will put into figuring it out?! — Love2Learn 4 mins ago
@bluefeet did you read it?
I really want to say that the OP has been on SO for over 2 years, at this point they should know what types of questions to ask and this isn't one of them.
PREEMPTIVE_OS_FILEOPS that's a new one.
18:25
@swasheck yes it is interesting
@bluefeet reading his profile reminds me of this
hahaha
@bluefeet gordon said something that i actual agree with
I'm voting to close it. Pasting 215 lines of code into a question and saying "make it more efficient at a glance" is somewhere between unrealistic and insulting. — Gordon Linoff 9 mins ago
need one more close vote
3
Q: column accepting number out of range mentioned in CHECK

radI tried the following query but it still accepts numbers outside the range of 1 - 9999 CREATE TABLE test(id INT PRIMARY KEY, CHECK (id BETWEEN 1 and 9999) ); What am I missing? UPDATE: The possible duplicate question solves this problem by setting up a trigger, but I was hoping to fix this...

@swasheck "I've put an index on almost every aspect of it." Yeah I'm sure that will work out.
@bluefeet I totally agree with you on that query. Depending on the number of rows that are being produced those Case Selects are going to have to run once per row.
If OP has 100K rows each of those case selects will run 100k times.
18:39
Thanks :)
What is the difference between db_accessadmin vs db_securityadmin ?
If I'm sick of our security team taking 3 weeks for a request and want to have the ability to add/remove users & create groups, what role should I have?
@Zane that would be where I would start on that query.
@swasheck You're not going to make it easy for me, are you
db_securityadmin

Like the securityadmin fixed server role, the db_securityadmin fixed database role manages security. In this case, it manages role membership (with the exception of db_owner) as well as permissions on securables. As a result, it's another role you want to keep a close eye on. Generally speaking, I've not seen a lot of folks use this role. Typically the DBAs manage security within the database and they're already coming in as dbo. There may be some rare instances where it would be used, but I would flag those as exceptions. Therefore, if you see any members of this role wit
Yeah I'm reading this and I'm confused
If I'm a db_owner, do I not have permissions to grant/deny access?
JNK
JNK
18:50
anyone know what will happen in SS 2008r2 if you issue a manual checkpoint while there is an open explicit transaction?
@AarolamaBluenk Users in the db_owner role have it all, within a single database. They can grant and revoke access, create tables, stored procedures, views, run backups and schedule jobs. A user who is db_owner can even drop the database.
@swasheck But that's the thing; I tried to add users before, and it did not work.
Let me try again though
I'm trying to follow this guide and I don't have an option to create a new user...
Sorry, new Login.
CREATE LOGIN testUser WITH PASSWORD = 'testUser' ;
User does not have permission to perform this action.
When I do SELECT IS_MEMBER('db_OWNER'), it returns 1
JNK
JNK
nvm the answer is "nothing"
@AarolamaBluenk creating a new Login is a server task
a login is to the system, a user is to the db
so i would need sysadmin privileges?
19:03
@MarkStorey-Smith Not really. I will probably do a POC at my current gig in a couple of months, though.
I would like to know where this person learned to use from in a substring
0
Q: SQL Server : Incorrect syntax

Sk1X1I have problem with this T-SQL code: SELECT DQ.Code as DQ_Code, II.OrdNumber AS Cislo, II.Id As ID, convert(varchar(10), cast(II.DocDate$DATE as datetime), 104) as DatumPlneni, convert(varchar(10), cast(II.DueDate$DATE as datetime), 104) as DatumSplatnosti, F.Name as Firma, F.ID as FIRM...

@bluefeet Aren't they going to need brackets around everything with the embedded dollar sign?
@billinkc they need lots of things
^^^ Truth
19:18
the whole query is messy, but I added the brackets into my answer. :)
@JNK Same as always, all dirty pages flushed
@MarkStorey-Smith Note to self - in the midlands, scollops are not shellfish when ordered from a chippie. They're battered slices of potato.
@ConcernedOfTunbridgeWells battered potato!
@MarkStorey-Smith Deep fried and all.
The girl behind the counter looked at me a bit strange when I ordered half a dozen of them. Now I understand why. :-D
@MarkStorey-Smith How's life in Bucharest?
@ConcernedOfTunbridgeWells Back in London this week and next. Back there from next Saturday, 2 new starters on the Monday. Struggling to find a good DBA at the moment
19:25
Yay! VAT this month. Corporation tax in April.
@MarkStorey-Smith I hear @Phil's on the prowl ;-}
@ConcernedOfTunbridgeWells And he'd love Bucharest!
@ConcernedOfTunbridgeWells Probably not the SQL Server element so much
@MarkStorey-Smith I'm sure he could pick it up if he wanted.
I did SQL Server -> Oracle -> SQL Server, although largely as a developer and dev DBA
JNK
JNK
@MarkStorey-Smith What's it pay and will you move me? :)
Interestingly, around '04 or '05 I was looking to move back to Oracle, but I got in on one of the first 2005 BI projects and did quite well out of the run on SQL Server 2005 skills so I never had much occasion to go back to Oracle.
@JNK High for Romania/low for US and yes :)
JNK
JNK
19:30
oh it's romania still
I'm asking a romanian coworker
Oh, oh pick me. I have like 10 words of Romanian under my belt thanks to my coworker from the Sebes region
Still something wrong with SO login. I'm on a plane using GoGo and I can log in here and dba.SE fine, however SO provides random nonsense like "AdBlock doesn't work with login" and "cookies are disabled." I don't have AdBlock and cookies are most certainly not disabled. Just seems like random "well, let's tell him something..."
This on top of random logouts every few days (and sometimes a bunch of times a day) over the past couple of months....
@JNK Much appreciated
19:47
@bluefeet you should also mention this garbage ` < cast(current_date as varchar(10)) ` which isn't going to work with getdate() either.
I would mention it but I can't log in.
@AaronBertrand it's a sign telling you to stay away from SO
I really want to know who down votes answers...
0
A: use of substr in php mysql query syntax

Aarolama BluenkPlease don't do this (@...). You're suppressing errors that may be valid. You also need to stop using mysql_ functions. They are no longer maintained and are officially deprecated. See the red box? Learn about prepared statements instead, and use PDO or MySQLi - this article will help you decide...

@AaronBertrand good point, thanks.
JNK
JNK
@MarkStorey-Smith Do you have a job posting somewhere I can give him to fwd if he know someone?
@bluefeet I like your foreign key comment.
@AarolamaBluenk that would solve the problem
@AaronBertrand updated my answer
JNK
JNK
@MarkStorey-Smith Happy to help, I'll let you know if he tells me anyhthing
@jcolebrand It's a little far for me
@jcolebrand sigh I'll never meet anyone from SE living here
20:01
lol
@Lamak I expect you might ... just need to organize something
I think the next worldwide meetup day is in like 2 months.
@jcolebrand Ok then. Everyone here is invited to my place in Santiago, Chile
@swasheck possibly. But has nobody else here experienced random weirdness with login behaviors, particularly on SO?
@AaronBertrand not anytime in the past five months or so
@AaronBertrand just for you
0
Q: SQL LIKE matches int when variable is varchar(4) but not varchar

yama arashiTrying to match some records to users by user ID (an int). But it will be done dynamically and I need to be able to match all records at the same time (I pass a '%' char for a LIKE wildcard). I have done this before and came across this problem accidentally. Declare @uid varchar = 300 SEL...

20:07
@jcolebrand I got an invite to that in the email a few weeks ago, but I haven't heard a squeak since.
Meet Joel Spolsky, some of our developers, and our London team
Network with some of our core users from Stack Overflow
Enjoy food and drinks on us all night
Take home a goodie bag of Stack Exchange swag!
This^^^^^^^^^^^
I want a goodie bag with swag!!!!
@bluefeet Well you know where to come then.
Nice. Also if it's a string why is th person passing 300 instead of '300'?
@ConcernedOfTunbridgeWells it's too far
@bluefeet But SWAG!
20:09
@ConcernedOfTunbridgeWells I wish I could
I could use another sticker to deface my iPad with. The ones I got last year are buried three or four layers deep now...
@bluefeet Plus you could go out on the piss with @MarkStorey-Smith and myself afterwards and sample the fleshpots of the south bank.
@AaronBertrand Free drinks too!
Is it during bits? Otherwise highly unlikely for me
@bluefeet Pity the retired Concorde, really, isn't it?
man, I wish I could go
20:10
@AaronBertrand When is bits on?
@ConcernedOfTunbridgeWells sounds like fun
Looks like I'll be in Avonmouth, Liverpool, Amsterdam, and possibly Rotterdam sometime in April or May.
@ConcernedOfTunbridgeWells oo oo oo I'll be in London then
First week of may
@MarkStorey-Smith I suggest we continue the festivities in a convenient pub afterwards.
20:11
@ConcernedOfTunbridgeWells Sold
@AaronBertrand 28 march is a bit early for that, isn't it.
Yep, I'll be headed to Las Vegas right about then for SQL Intersection
@AaronBertrand Bummer. No swag for you then. :(
@MarkStorey-Smith Should see if @JackDouglas or any of the Martins are in town for that.
S'ok I can find lots of other defacement stickers
@AaronBertrand I'm sure you'll get by.
Maybe @Phil could be prised out of the peak district for that.
Free drinks after all.
20:15
@phil ^^^^ THAT
On second thought, maybe is a good thing I can't go. That way you people don't have to listen to my terrible terrible english. After saying "hi", the shame will probably make me go mute the rest of the evening
@MarkStorey-Smith It's just near Blackfriars. We could retire to that pub across the road from ITV on the way back to Waterloo.
@Lamak We'll probably be fairly incoherent by then anyway. Nobody will know the difference.
@ConcernedOfTunbridgeWells see?, I was taking comfort on that thought for not being able to go
now I want to go anyway
@Phil, if you do want to come down, I've got a fold-out bed you can crash on for the night.
Anyway, must dash - I've got a two hour drive from Birmingham back to Sunningdale tonight.
20:38
If we restored a SQL Server database from a .bak file with NORECOVERY, is there a way to bring it online without doing the entire restore process again?
@Rachel Yeah, just do a RESTORE DATABASE [foo] WITH RECOVERY
21:12
@MikeFal am I the only one who reads [foo] in Mr. T's Voice???
@Zane No. Because when Mr. T get's pissed, he's ready to DROP DATABASE [foo] WITH NO_PITY
4
this person is confused
0
A: table-valued function, returning no value?

MelanieTry this: DECLARE @test AS <whatever you want> SET @test = dbo.ReservationByClient (602) SELECT @test

@MarkStorey-Smith that link works only for you doesn't it?
@ConcernedOfTunbridgeWells especially since it is 28 February
And I got a surprise:
2
A: Unit testing of stored procedures

Leigh RiffelYes, you should test the whole chain of events as a unit. So, in your example with a procedure that inserts into a table and causes several triggers to fire, you should write unit tests that evaluate the procedure for various inputs. Each unit test should pass or fail depending on whether it re...

21:38
@MikeFal Touche.
@MikeFal I'm putting that commented on any drop scripts from now on.
JNK
JNK
@MikeFal If Mr. T had queried a table on a linked server it would be P.T.Da.Foo
@JNK I'm going to totally create a database called pity with a da schema and a foo table for demos.
JNK
JNK
That would be pretty awesome
Just see how long it is for people to notice.
JNK
JNK
You should also make something called JibbaJabba in there too
21:42
I also need to recreate my demo lab to be in the EMINENT domain.
JNK
JNK
mr t's wikiquote page is nice
> For 5 years Mr. T disappeared. Fools went unpitied and Jibba-Jabba went unchallenged!
4rt43-190ui4t gjrklvwer
@MikeFal you will have the most pun filled demo's of all time.
21:58
is it bad that I want to downvote this just because it is Aptem?
0
Q: is it possible to customize values for parameters in SSRS subscriptions?

Артём ЦарионовI have an SSRS 2008 report where the default parameters values are this: <ReportParameter Name="BegDate"> <DataType>DateTime</DataType> <DefaultValue> <Values> <Value>=DateAdd("D",-13,DateAdd("D",6-(Weekday(Today)),Today))</Val...

JNK
JNK
@bluefeet It's not great
but it's not DBA so do whatever you like ;)
votes don't really count on SO
it's like spitting in the ocean
Speaking of Aptem
@MikeFal bahahahahaha
@JNK I won't do it....but I want to
JNK
JNK
@bluefeet It's a fine line honestly from knowing someone makes terrible posts and voting them down to ASSUMING the post is terrible b/c it's from a terrible poster and voting it down
@JNK The only plus with Aptem's questions is you are guaranteed an upvote from him. I am pretty sure he upvotes every answer to his questions.
22:05
I am going to steal this pity.da.foo idea if everyone is ok with that.
@AaronBertrand Totally man, totally
I don't think 10 rep is worth it
But be advised I'm also going to be using it. :)
No worries, of course :-)
^^^ Aptem's vote's cast count
JNK
JNK
22:07
@AaronBertrand HAve at it
Ciao folks, no wifi on this flight.
JNK
JNK
bye
Before you know it all demo databases will use the Mr.T Formatting.
@JNK i dont understand
22:07
@AaronBertrand Have a good one chief.
oh @AarolamaBluenk you are crazy
@Equilibrium If I tell you my car is broken and expect you to fix it over the internet how would you do it? — Aarolama Bluenk 6 mins ago
@bluefeet Wasn't sure how to make a better analogy
Probably could have said, take car to the mechanic and expect the mechanic to fix it without looking at it.
01:00 - 23:0023:00 - 00:00

« first day (780 days earlier)      last day (4386 days later) »