Using VB.NET in an SSIS package, how do I populate an SQL Server table with the users in multiple Active Directory domains (in the same forest)?Script Component (VB.NET) with System.DirectoryServices Here is a sample logic that import Active Director
Notify a C ++ application when a change to a SQL Server table is performedI've posted this before but haven't obtained a suitable answer that fits my requirements. I'm looking for a technology to notify a C++ application when a change to a SQL Server table is made. Our middle-tier is C++ and we're not looking to move onto
More than one Identity column in a SQL Server tableI have the following problem to resolve and I think I need some help as I don't think what I'm thinking as a possible solution is correct: I have a SQL Server table with an identity column. This table is going to store current data as well as histori
Insert float value in SQL Server tableI have a float value that I'm trying to insert into a SQL Server table with this code: SqlConnection connection = new SqlConnection(ConnectionString); SqlCommand command = new SqlCommand("AddNewValue", connection); command.CommandType = CommandT
How to find a non-English language and its data in a sql server tableI have a Sql Server table loaded with data from multiple countries. Say Japanese, Thai, Urdu, Portuguese, Spanish and many more which i didn't identify. How to identify the language and its relevant data from that table ? sample: colid | colname 1 |
Designing SQL Server Table ConstraintsI have a design question for SQL server tables. I have equipments in a table as follows: Table Equipments id int PK idCommunications int FK to table Communications (defined below) Name varchar Each equipment can have only one type of communications s
Need a better algorithm to parse the SQL Server table with JavaI need to scrub an SQL Server table on a regular basis, but my solution is taking ridiculously long (about 12 minutes for 73,000 records). My table has 4 fields: id1 id2 val1 val2 For every group of records with the same "id1", I need to keep th
Extend the Excel changes to the sql server tableSo I'm in Excel and I connected to my SQL Server Table. I updated a couple columns in Excel. column1,column2 updated1, updated2 updated3, updated3 Is there a way in the VBA Immediate Window to run an update statement to propagate the changes back to
How do I lock a SQL Server table of other processes until my transaction unlocks it?I need to make an update to a sql server table to a busy table. But, I want to make sure no other process is able to update or select for update on that table until I am done making my changes. However, I don't want all other request to fail, I just
Removing duplicates from the SQL Server tableI have a situation in my SQL Server table where I have numerous duplicates of records like following: SID Username InQueue ------------------------------------------------------------------ 162 peeeer2 492 2017-01-18 12:20:21.820 0 354 2791 peeeer2 4
SQL Server Table to FoxPro Table IssuesI am trying to get some SQL server tables into FoxPro dbf. I successfully managed to bcp export data such that when I use FoxPro Import Wizard, the data imports correctly. But when I try to do it at the command line, I can at best import the first fe
How to Select Separately Delimited Texts and Completely Column the SQL Server TableI have a SQL Server table with a column p_author containing semi-colon (;) delimited text value. I used this query to split and select the respective id's from another table but it only splits once whereas I need all the value id's after splitting ei
Select n random rows from the SQL Server tableI've got a SQL Server table with about 50,000 rows in it. I want to select about 5,000 of those rows at random. I've thought of a complicated way, creating a temp table with a "random number" column, copying my table into that, looping through t
Problem with the MaskMoney jQuery plugin and Decimal field type (SQL SERVER table)I am using a ASP.NET MVC framework, jQuery library (1.3.2), linq to sql, sql server 2005. I have a problem with jQuery MaskMoney plugin, to save data in sql server table. I created a table, where this table have a field "valueProducts" type Deci