SQL Cluster failures
Hello,On a SQL Cluster I have two nodes and one seems to be weak... Anytime I am on B Node with all instances it works for 48 hours at least but on Node A after 1 hour it fails...1. cannot access the...
View Articlecan i have multiple field terminators in BULK INSERT or BCP commands i,e,...
can i have multiple field terminators in BULK INSERT or BCP commands i,e, define more than 1 for a filepls provide example
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 ArticleEngine database not free resources: ram and cpu
Hiif execute a big process that works 10 minutes,after the process have finished sqlserver not free the resources, and i have to reset sqlserver for free the cpu and ram.And why with SSIS the server...
View Articlebcp csv export needs quotes around fields
I'm using BCP to export a csv file, what I am wondering is this. Is there a way to set it so that all the fields in the csv file are enclosed in quote marks "".
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 ArticleCombining 2 SELECT statements for converting IP numbers to IP address
What I am trying to do here is get a list of clients with their IP address but SQL IP is in decimal encoded format. Running the below query is returning errors. How can I modify the query to run as one...
View Articleremove 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 ArticleHow to do partition on a non clustered index column?
I have table ORDERS .Where there are Million rows in it .I need to add Pationed Index on Order to store data in one of two files based on the new IsLocked field.But when i checked table there is a Non...
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 ArticleHow 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 ArticleHelp 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 ArticleHow 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 ArticleMultiple 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 ArticleMy 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 Articleadd blank values to datefield
hiPlease help. I am trying to put blank spaces for values which are NULL in a datetime fieldeg2013-12-312013-11-30NULL2013-09-28Expected result is take out the null and replace blank space. I need...
View ArticleSQL 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 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 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 ArticleYou 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