Querying Data by certain Hour.
I have a visual studio program that is linked to my SQL database. Â I am pulling values from that database and have created a report viewer in Visual Studio. Â I want to ONLY pull data at 6:30 a.m. Â 2:30...
View ArticleVisual Studio MVC Debug and Azure Deploy different login database
I have a database on azure and made a project with connection string to it. The project works when debugging and deployed to azure but the database is a bit different. Any tables I made and updated are...
View ArticleMODEL database Simple
Hi All,In one of our servers, the MODEL database is set to SIMPLE recovery model and as result  log backup job failed and I notified the customer that this is failing due to MODEL database is in SIMPLE...
View Article"Cell is Read Only" with inner join in "Select Edit Top 200 Rows" option
When I right-click on Table1 and click on "Select Edit Top 200 Rows" option, I can change values, add/delete records, etc. As soon as I add an INNER JOIN in the sql editor to Table2, the cells become...
View ArticleBacking Up Database While Resetting / Reinstalling Windows?
Hi friends,While I seek to reset or format my disk and re-install my current Windows 8 with either a fresh one or even replacing the same by Windows 8.1 what steps to take to copy all my local DBs and...
View ArticleCan you use a @variable of strings in a WHERE IN @variable
Re: Can you use a @variable of strings in a WHERE IN @variableI have a string of column names. I want to only return results for columns in that list of column names. Can I get the WHERE NOT IN to work...
View Article[Help] Problem on starting SQL Server
Hi, i have installed SQL SERVER EXPRESS 2008 and when i try to start it, i get the following error: Code SnippetSQL Server Configuration ManagerThe request failed or the service did not respond in a...
View ArticleHow to resolve this.
Error: 26040, Severity: 17, State: 1. Server TCP provider has stopped listening on port [ 1433 ] due to a failure. Error: 0x2726, state: 1. The server will automatically attempt to reestablish...
View ArticleSQL Agent won't start
Hi,I tried to start the SQL Agent on my SQL 2008 Server but got this error:TITLE: Microsoft SQL Server Management Studio ------------------------------ Unable to start service SQLSERVERAGENT on server...
View ArticleHow do I run sp_spaceused for all tables in a database?
Hi, I am struggling to understand how to run the sp_spaceused sproc for all tables in a database. I know how to use it for one table but how would I replicate it automatically for each table in a given...
View ArticleWhat is the difference between CTE and temp table and when to use one over...
Hi Everyone,What is the difference between CTE and temp table. I know how to create both and use but would like to know and when to when to use one over the other?RegardsGautam SGautam S
View Articlesql 2k12 ?
Hi All,i am planning to learn sql 2k12, could you please guide me where can i start...and provide some good links..Thanks,
View ArticleLeaning SQL Server 2012
Hi All,i am planning to learn sql 2k12, could you please guide me where can i start...and provide some good links..Thanks,
View ArticleNeed to drop a database with recovery pending flag set
Stuck on this, I think the device where the log is full and I cannot free any space. The Database is in recovery pendingI just want to drop the database, I don't need or want itAny alter database...
View ArticleTable Creation and Storage
I just downloaded SQL Server 2012 and am trying to create new databases with tables inside of them. However, the tables I create in my query don't get stored in my newly created database; they're...
View ArticleError occurred during the login process
Error: A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of...
View Articleinstall Cumulative update in sql 2008
Can any one tell me how to install Cumulative update in sql 2008 r2 ?
View ArticleDatabase Copy to another
I have a SQL database on Server1 called DB1. I need that entire database copied over to a different server (call it Server2) each night. I'd like to schedule a SQL Agent job to do this. I'd prefer not...
View ArticleThe number of client workstations currently connected to the database server
Hi All,I am receiving some alerts for SQL 2000 version saying that "The number of client workstations currently connected to the database server is 650.00". In this scenario what need to check and any...
View Article