Viewing 15 posts - 10,111 through 10,125 (of 39,936 total)
Double up on the quotes.
declare @sql varchar(1000)
select @sql = 'INSERT dbo.mytest SELECT 'insert sales select ''test'' '
Also, watch your spaces. You are missing a few.
February 24, 2015 at 10:26 am
This was a 2003 question
February 24, 2015 at 10:22 am
Hany Helmy (2/23/2015)
February 24, 2015 at 10:21 am
mar.ko (2/24/2015)
I understand, but I would never use an Autonumber/Sequence as a key reference to a product or client, etc.
Instead, I would...
February 24, 2015 at 10:20 am
February 24, 2015 at 10:19 am
You might read this to ensure you understand: http://www.sqlservercentral.com/articles/Administration/64582/
February 24, 2015 at 10:17 am
azhuravel3343 (2/24/2015)
Mr StrangeI appreciate the information but it also would be helpful to list title/ISBN of Itzik Ben Gan book that you are referring to.
There are a few:
http://www.amazon.com/T-SQL-Querying-Developer-Reference-Ben-Gan/dp/0735685045/ref=asap_bc?ie=UTF8
http://www.amazon.com/Microsoft-High-Performance-Functions-Developer-Reference/dp/0735658366
February 24, 2015 at 10:15 am
Tom has a good summary here. If someone would like to tackle a short, simple, intro piece, we'd appreciate it.
February 24, 2015 at 9:44 am
I'll also say that I think my kids spend too much time in front of screens and it makes me crazy. But my son runs cross country, my daughter plays...
February 24, 2015 at 9:24 am
phonetictalk (2/23/2015)
How do other people handle the "in moderation" part of technology? Especially for kids not yet in school?
My three kids are older (13+ now), and so we've given up...
February 24, 2015 at 9:10 am
djackson 22568 (2/23/2015)
...Minecraft is about building, and having fun doing so.
...
Very true. Late to respond, but my experience with my two younger kids is that they were much...
February 24, 2015 at 9:03 am
You can also query the backup files and look at the LSNs to do some matching to determine what's the latest. Ultimately that's the best. This script might help you:...
February 24, 2015 at 8:41 am
I'd lean towards what Gail mentioned. If you need inserts to happen without affecting reads, then isolation is probably the best way. However this changes where resources are needed on...
February 24, 2015 at 8:39 am
GUIDs are very unlikely to collide, but there have been reports of this. It's not something to worry about in practice, but be aware.
These certainly are important for things...
February 24, 2015 at 8:37 am
Viewing 15 posts - 10,111 through 10,125 (of 39,936 total)