Can't connect to sql server 2005 database using vb 2005 express
I've used Sql Server 2000 and Visual Studio 2003 for a few years. I've started a new position and they have access to Sql Server 2005 Standard and Visual Basic 2005 Express which I'd like to use for a...
View ArticleHow come my database do not have a record id?
this is my first time used M.Access, so i not very sure is it Access do not have a record id that it will auto generate itself one when i insert a record? if i cannot find.. what is the way that i can...
View ArticleJust in time debugging Errors
************** JIT Debugging **************To enable just-in-time (JIT) debugging, the .config file for thisapplication or computer (machine.config) must have thejitDebugging value set in the...
View ArticleSQL Server 2000
Where is a good place to go and read information on how SQL should interact with Windows SBS 2003 Sharepoint Services loaded on one machine and the SQL is loaded on the Windows Server 2003 Standard...
View ArticleMicrosoft Support on Database Issue
In our production database (Sql Server 2012) .ldf file is increasing rapidly. Yesterday we truncated the log file and made it to 1 MB in size but within 1 hr it became 35 GB in size.Now we are running...
View Articlefinding minutes part in sql
i wrote this code to find difference between TotalRequiredHours - TotalHoursWorked =192 - TotalHoursWorked=186:04 gives result = 5.933334, , it returns result, Hours are right but minutes part seems to...
View ArticleRestore Database without replacing existing index
Hi all Every morning we are restoring backup from production to Reporting DB.we need to create new index in Reporting DB.is it any option to restore DB with out replace the existing index in...
View ArticleDump Files causing space issue in SQL Server.
Hi All,Disk is filled due to some dump files and these files are .txt, mdmp and log files. Do you have any idea about these files and how to minimize these files.Grateful to your time and support....
View ArticlePrint a DayName without using Date functions
Hi,I have an assignment like without using any date functions i should print a calendar.Below is the code without using any datefunctions like dateadd, datediff, datename a calendar has been generated...
View ArticleError converting type
my code throws error:Msg 8114, Level 16, State 5, Line 1 Error converting data type varchar to float.Code:ALTER FUNCTION [dbo].[GetPayDeducted] ( @emplID int, @month VARCHAR(50) = NULL ) RETURNS int AS...
View Articlefor xml path sorting based on input flow
I need to sort based on the values sent from the input xml column resultdatathis is an value which i have in my database, sent from front end.currently the dispaly is based on database storage level...
View Articleproblem with query
Hello ,ActorANOANAMEA1L TreeA2D PondA3M LakeA4J WorthyA5T GrossA6L Leaf MovieMNOMNAMEM1Work a lotM2Sleep too littleM3Too much funM4Laugh and Cry...
View Articlesql server memory issue
One sql server box: SYstem administrator pointed out: SQL server almost uses all memory and server memory usage almost hits 100%How to fix this problem?
View ArticleI have recently been asked to research information for the following.
I have recently been asked to research information for the following.Add a backend SQL server to the current Access 2010 set up we have in place as the front end, for 11 users.Upgrade to Access 2013...
View ArticleSQL server wrong Row Number is showing
here is my sqlSELECT*FROM(SELECT Row_number()OVER(ORDERBY[bbajobs].JID)AS RowNumber,[BBAJobs].[JID],[AccountReference]as[Acc...
View Articlequery to return data from three tables
Hi All,I have three tablestable1 ID value11 abctable2ID link_ID ref_type object_ID1 ID of table1(1) hyperlink 1212 ID of table2...
View ArticleSQL Server Processor/Core Licensing and Windows CALs
I've scoured the internet for an answer to this question, so I'm assuming the scenario isn't as common as I think, or people are purposely looking the other way because they don't want to know the...
View ArticleCasting an Integer and prepending a 0
I have an integer value for month as a single digit. I want to cast it to a string an ensure that if it's less than 10 it will always have a 0 prepended to it. This what I am working on, but having...
View Articlejoin several fields to create new field
What would be the recommendation/approach in creating a seperate field in which joins several differate fields together. I have a table with field name a, b, and c. I want the information in those...
View ArticleSSAS Setup Step keeps giving a "folder path specified is invalid" error message
HiI have managed to install SQL Server 2012 (for the first time) by skipping over the Analysis Services step which keeps giving me an error message about the Data Directory file path being invalid,...
View Article