Viewing 15 posts - 76 through 90 (of 919 total)
Did you, by any chance, explicitly deny insert to 'public'? What error message do you get?
August 29, 2013 at 4:47 pm
Hard to tell, but I'd bet one of your @variables is declared as int rather than varchar so the '+' becomes an addition operator rather than a concatenation operator. ...
August 29, 2013 at 3:45 pm
Did you update the statistics on the DB after you restored it to the new server?
August 29, 2013 at 2:27 pm
You were running a production system on a CTP release? Those are usually put out so the community can try them out and provide feedback to MS about issues...
August 29, 2013 at 1:19 pm
So it would have to be something like:
select ProdMonth ,ProdYear from Production
where ProdYear >= cast(datepart(yyyy,DATEADD(yyyy,-1,getdate())) as int)
I second Jeff's suggestion to store dates as dates.
August 23, 2013 at 12:19 pm
What's the data type of prodyear? If you are comparing an entire date against a column that only contains the year as an int or a 4 position varchar,...
August 23, 2013 at 11:21 am
One important point is that SQL Server runs as a service. That service is managed through the SQL Server Configuration Manager. You may have to start the configuration...
August 12, 2013 at 4:56 pm
You can download the free SQL Server Express software. It has some DB size limitations, but might be fine for what you're doing. SQL Server is more complex...
July 26, 2013 at 2:49 pm
Can you log on to the actual server the SQL Server is running on during these outages? Is it behaving normally or is it also frozen?
July 26, 2013 at 1:28 pm
How is the batch being sent to the server? Is it through an ODBC or other connection that may use settings that would override the ones you set? ...
July 24, 2013 at 2:32 pm
I'm not a network expert, but that doesn't show any of the problems I might have been looking for, though you might want to look at this also:
http://technet.microsoft.com/en-us/library/gg162709(v=WS.10).aspx
Does the server...
July 24, 2013 at 2:01 pm
Take a look at:
http://it.toolbox.com/blogs/programming-life/tsql-tip-use-nocount-on-19362
This normal best practice.
July 24, 2013 at 1:09 pm
You might want to check the NIC on the SQL Server and any errors reported by the network gear.
July 24, 2013 at 1:04 pm
Can you post the code you are using? And if you are using Dynamic SQL, please post the generated SQL.
July 22, 2013 at 4:58 pm
What does the column hold? If the smallint holds all the appropriate values, I'd go the other way, making the float into a smallint. Float is an approximate...
July 8, 2013 at 10:31 am
Viewing 15 posts - 76 through 90 (of 919 total)