1,402 reputation
11125
bio website twitter.com/coder4hire
location Manchester, United Kingdom
age 37
visits member for 3 years, 10 months
seen 9 hours ago

Software developer and co-founder of Australian software company Redgum Technologies, been developing since late 80's in a variety of languages, C, C++, VB, .NET, etc... as well as a few niche ones...

Last few years Have been spending the majority of my time in SQL Server databases...


Oct
29
answered Currently all connections getting “Timeout expired”
Sep
23
awarded  Notable Question
Sep
4
comment Does SQL server 2008 log instance level security permission changes
Note: if the database had been restored your login may have been disabled (for that DB only) if it was restored from a different server (even if you have a valid login for that server)
Aug
23
awarded  Famous Question
Aug
7
revised How to tell what invoked a trigger in SQL Server?
brief reformat to move code into code section (was showing as part of the comment block)
Aug
6
awarded  Organizer
Aug
6
revised How to tell what invoked a trigger in SQL Server?
adding tag to include SQL Server
Aug
6
suggested suggested edit on How to tell what invoked a trigger in SQL Server?
Aug
6
answered How to tell what invoked a trigger in SQL Server?
Jul
2
awarded  Curious
Feb
11
awarded  Nice Question
Jan
17
awarded  Yearling
Jan
10
revised More efficient way to write multiple “AND”?
fixed to handle the `AND` criteria not `OR`, also added on extra info for how to expand to specialist criteria
Jan
10
comment More efficient way to write multiple “AND”?
ignore that request, I see my misunderstanding.
Jan
10
comment More efficient way to write multiple “AND”?
Depending on the query engine and statistics on the table you can get a different query plan when using IN (62,50,70) vs tblBB.GRO_NO = 62 OR tblBB.GRO_NO = 50 OR tblBB.GRO_NO = 70. But the main benefit is concise behaviour. Can you expand on your comment that you don't get the same results as the previous query (please add to your question)? I would hazard that my addition of DISTINCT is where the behaviour is different..
Jan
9
answered More efficient way to write multiple “AND”?
Oct
15
answered What is a Scalable Storage Mechanism for large TTL data collections
Jul
23
awarded  Notable Question
Jul
5
comment Removing superfluous tables with a synchronization?
sounds to me like what you need is to logship with a method in between where you restore the logship (so you can interact with it) and then switch back to the logship...
Jul
5
comment Dealing with identity ranges for transactional replication
@Jez Ah, so you've got NOT FOR REPLICATION set, which means SQL Server is a) allowing replication to insert specified IDs AND b) it is not maintaining a last IDENTITY created (so your next non-replication INSERT is trying to create a row at 2), which is why CHECKIDENT works, you should be able to run just DBCC CHECKIDENT ([TableName]) without RESEED, highnumber as that will just sync up the internal IDENTITY counter with the MAX IDENTITY currently on the table