Quantcast
Channel: ฟอรัม Getting started with SQL Server
Browsing all 8428 articles
Browse latest View live

remove the prefix string in powershell

I am getting the users connected to Webservers count with this query $wf = Get-Counter -ComputerName "WebServerName" -Counter "\web service(_total)\Current Connections" I am getting the out put...

View Article


SQL

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 Article


How can I write this query In parameterize form so That I can prevent sql...

String strQry ="INSERT INTO tblVoucherType (VhrTypeCode,moduleCode,transCCode,"+"voucherType,OrderNumber,active,AccountId) "+" values('"+ txtVhrCode.Text+"','"+...

View Article

Help in SQL database remove duplicate fields

I have different tables like Employee, mentor_offer, department and criteria.  Employee has all the employee details and department has the id and name of all the departments, Criteria has id and name...

View Article

How to create Batch file to execute sql scripts

Hi friends,         i want to create batch file to execute all my .sql scripts.I have all table ( all table scripts in single file ) ,Udds ( all udds in single file ) ,Stored procedures( separate file...

View Article


Multiple field terminators in BULK INSERT or BCP

Can i have multiple field terminators  in BULK INSERT or BCP commands i,e, define more than 1 for a file?Pls provide example.

View Article

My trigger doesn't seem to be saving after I modify it

So I had a trigger that I needed to modify (extensively). It now does 1 thing instead of 10 things.I hit the EXECUTE button and it gives me the following error:Msg 2714, Level 16, State 2, Procedure...

View Article

SQL Server 2008 R2 enterprise evaluation edition download link

Hello Everyone...I am unable to find a download link for downloading SQL Server 2008 R2 Enterprise Evaluation Edition.I request someone to help me.Thanks and Regards, Readers please vote for my posts...

View Article


How 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 Article


data 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 Article

Image may be NSFW.
Clik here to view.

You can be our next Spring SQL Server Guru !!

In the northern hemisphere at least, Spring is here! (apparently)And at TechNet Wiki, we're hoping you're all hatching new ideas for this month's TechNet Guru competition!We're looking for more shoots...

View Article

data is not loading in ado.net destinaton from flat file source.

HiWhile loading the data from flat file to ado.net destination getting an error as below. here i am using visual studio 2010[ADO NET Destination [2]] Error: An exception has occurred during data...

View Article

Keeping an Imported Table up to date

Hi Everyone,I'm reasonably new to SQL, and I'm hoping someone can help me.I have an Oracle data view that I've imported in to a database on my SQL Server 2012 server. I'd like to setup a way to ensure...

View Article


How to upgrade from MSDE to SQL Express 2012

Hello,         I was wondering if/what the procedure might be if you want to upgrade from MSDE to SQL Express 2012? Do we have to upgrade to SQL Express 2005/2008 first to do the upgrade or is there a...

View Article

Problems with Website using WebMatrix and SQL Server Database 2012

 I am working on my project on WebMatrix and SQL Server database. At the moment I have achieved the following:Created a webpages (i.e. Login Page, Sign Up/Register page for the websiteCreated a...

View Article


DBCC shrinkdatabase doesn't work

Hi everyone,I have a SQL 2k5 instance and I want to shrink a database using "dbcc shrinkdatabase (databasename, truncateonly)"(I could see there were a lot of unused space there). However, the scripts...

View Article

DTS Import of MDB in SQL Server 2000 Drops Memo Field Data

I have used DTS in SQL Server 2000 to import an MDB filed (MS ACCESS) of a table.  When the table is imported the primary key is lost and the memo field data is completely gone.  I use the...

View Article


"Sql 2005 Management Studio" and changing object's schema

 Using a query like "ALTERSCHEMA TestSchema TRANSFER dbo.table1" I can easily move  "Table1", with schema "dbo",  into schema TestSchema. But I can't see how to do it using only the GUI tools provided...

View Article

Best SQL Server 2005 books

Hi,I am trying to determine a couple of books that will help me understand SQL Server 2005 from a few of perspectives:Optimizing databases, specifically from SQL 2000 - I have a recommended book Pro...

View Article

4 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 Article
Browsing all 8428 articles
Browse latest View live