How to check for errors in TSQL
Hi, I am not very comfortable with TSQl, I need help with the code below: This procudure: drops and recreates table BlankData if table exists; creates it anew otherwise.--. -. loads...
View Articlegetting the ball rolling
I am using PHP the moment and I was wondering, what to do to connect to SQL Server 2010 or newerthen how about users and accounts etc for web sites, potentially lots of themhow to place the database...
View ArticleShrink data file after deleting 20,000 rows
i have deleated about 20,000 rows from my database that held about 70 Gig of data,now i want to reclaim the free space.How can i do it.RegardsKhurramk
View ArticleVB 2010
I have downloaded VB 2010 and SQL 2008 Express to try them out before I purchase. I have been a VB Pro user since VB5 and love it. I cannot get VB 2010 to access a database in sql 2008 r2 express....
View ArticleProblems with SQL Server 2012 Express Edition
When I installed Visual Studio Express 2012, I didn't have SP1 for Windows 7 installed. (This was the first version of VS which I tried installing). I do not remember if I received an error message...
View ArticleCapture logged in users from database
I want to capture users logged int o my database from 9-5 and then get the average per day.can i please have the guidencek
View Articlesql server 2008 installation issue
Hi all,I am trying to install sql server 2008 enterprise edition on windows xp sp3, i am facing an issue when i finally click "install" to install selected features.I am getting an error saying "the...
View ArticleWhich is best in performance CHAR or VARCHAR
hi all which character data type is best in the term of performance CHAR or VARCHAR.Thanks in advance.
View ArticleCan't Connect to Server - SQL Server
When I try to start SQL Sever, I get this message:This is what my Configuration Manager looks like:My Server is named 'ExcelPC'. This seems fine to me, but it isn't working for some reason. What am I...
View ArticleRam requirements for 500 Gig database
My database size is 500 Gigabyte,My Ram is 12 Gigis that enough?its using 10 Gig Currently k
View ArticleLimitation of "SQL server standard 2012 SNGL OLP NL (single user) " License
we are trying to get SQL Server license for an application with different modeules using SQL Server database. The application will be installed on same server as SQL Server.i would like to know if "SQL...
View ArticleLogging all SQL queries into a file (SQL Server 2008 R2 Express)
I am wondering how to log each and every query into a file, using SQL Server 2008 R2 Express? I need logging queries to be ran even when I am away. I know SQL Profiler is not available in SQL Server...
View ArticleSQL Server Profiler Error while login
It's an fresh install of SQL Server 2008 R2 trial on my local development machine and I'm able to connect the server through SQL Server Management Studio. But when I tried to connect the server through...
View ArticleAuthentication Mode/ Local host / Account deactivated
Hi all,i switched the Authentication Mode from SQL Server Auth to Windows Auth. But i apparently disabled my windows account some weeks ago. After restarting the server i can not login with my sql...
View ArticleAdd a Column and Concatenate in SQL (MS ACCESS)
Table A NameA NameB FinalABC DEF ABCDEFEFG HIJ EFGHIJHi Guys,I am having a Table A with NameA and Name B Columns. I wanna create a new column Final with...
View Articlestored procedure working very slow
CREATE PROCEDURE dbo.NIC_CPP_LABRESULTS_GetReviewedPatientLabTests_AOS@lPatient int,@nRecordStatusint,@nClassLevel int=5,@nSecurityLevelint=0,@lMap_UserToOfficeint=0 AS SET TRANSACTION ISOLATION...
View ArticleCan't find databases
I am using VS 2012 ultimate.I have installed SQL Server 2012 Management Studio and SQL Server 2012 Data Tools. Both connect to my database engine.When working with my solutions using the VS 2012 IDE, I...
View ArticleAny sugestion on tuning this stored procedure
USE [myNIC_PROD] GO /****** Object: StoredProcedure [dbo].[NIC_REPORTS_GetReferal] Script Date: 07/18/2013 20:51:38 ******/ SET ANSI_NULLS OFF GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE...
View ArticleCannot install Adventureworks 2012 Samples Databases
Hello!I just installed SQL Server 2012 Evaluation on my machine but I am having difficulty installing Adventureworks Samples.Here are a couple of things I have done: 1. I ran this query (the path is...
View ArticleSQL Server job accessing file from different location
I am calling EXE from SQL Server job,and that exe requires one blank .mpp file which i have put in EXE folder but while executing EXE,EXE started searching file in C:\Windows\System32 folder instead of...
View Article