Create a Union query that automatically adds/contains new tables with a...
Dear All, For a research project i am upscaling from an Access database to SQL server/ SQL azure since the database got far too large. Now i am quite well known with Access, but to be quite honest, I...
View ArticleSum fields together
How do I get the fields to accumulate. I am running through one table (Job) and then through another table (SO_Detail). My results show numbers in the fields that start with [Job. and zeroes in the...
View ArticleDate Conversion
I have a column called Month in 11/01/2013(mm/dd/yyyy) and now I need to convert in 201311 format(YYYYMM).How do I do that?SPPandey
View ArticleSQL Date Conversion
I have a date in text form in Excel like 41579,41609 but now I need to convert that to date form(YYYYMM) like 201311 ,201312 etc.Can somebody help me to figure this out?I used :Convert...
View ArticleThere is insufficient memory available in the buffer pool
Hi allI noticed the following error on one of my SQL Servers:"SQLServer Error: 802, There is insufficient memory available in the buffer pool. [SQLSTATE 42000] (ConnExecuteCachableOp)"What steps can I...
View ArticleIssue with joins
Hello everyone,I am joining 4 tables and in where clause, i wrote a sub query.SELECT t1.col1,t2.col2,t1.col3 FROM table1 t1INNER JOIN table2 t2 ON t1.col4=t2.col4INNER JOIN table3 t3 ON...
View ArticleSQL 2012 Per Core Licensing Per-VM In A Multi-Host VMWare Environment
I'm hoping the title of this post gives a clue to what I'm after but let me try and give a thoroughly clear scenario.Scenario - Say for instance I have 5 x VMWare Esx Hosts each with 2 physical...
View ArticleSQL
Hoping someone can point me in the right direction.I currently manage a few Access databases within the company I work for. These databases are nearing their 2GB limit.I am looking to move them over to...
View Articledata transfer from one sql server to another sql server in 2005
Hi,Im trying to transfer only one table data from one server database to another server database table.both are in 2005 .Can anyone help?
View ArticleHow do I execute a PowerShell Script
I've googled this, and found arguments as to "why would you do that, blah blah blah"So please don't ask me why; this is just the way I was told to do it until we can get our SQL DB Mail working. Our...
View ArticleForce DATE data type to mmddyyyy
Hi All,Can we force DATE data type column to save data as mmddyyyy always. Thanks,Nihar
View Article4 CPU server - add 5th for OS?
Good day all.We had an issue today that cause a DB server (4 CPU SQL VM) to run at 100% CPU load. I was able to get onto the RDP session but then it was too hard to navigate around due to slow...
View Articlequery
How to update the status to 'Active' when the condition is :max(audit_date) and max(audit_sequence) then update status to 'Active' for all different product.There are many product whose max(audit_date)...
View ArticleAdd service account as a login for my database
Hello,I am expering difficulties to add my "local system" account as a valid login for my SQL (localDB)\v11.0 development server.This is my development environment where I am creating a windows service...
View ArticleSQL Query
IDNAME1Deepak Kumar2Sourabh Shrivastav2Amit Wadhwa3Ashutosh Tripathi3Ashutosh Kumar3Rizvi “NameList” table has name of persons with ID.Select query is required for following condition:If the Id’s are...
View Articleunable to connect to sql server database
i run on CMD:aspnet_regsql -C "Data Source =Davidchamoun/sqlexpress : intergrated security= true" -ssadd -sstype pi got a network-related or instance-specific error occurred while establishing a...
View Articleget selected data from one db to another db
Hi,In sql server I have two different databases .In database1 I have two tables(das1(client ID's FK) and clients1(ID PK) )with primary foreign key relationships.In database2 I have same tables with...
View ArticlePublishing Web Application
Hello to everybody.I got a problem like this:I developped a project using Visual Studio 2005 Standard Edition on a XP pro x64 Machine using a developpemet data area on a SQL 2005 Express...
View Articlewhat is the database owner and database user?
uploading the databaseas you can see in the picture above, i have uploaded my .bak file of my database which i made it in sql 2005 and im trying to connect it to my website. the owner of the database...
View Article