Viewing 15 posts - 6,331 through 6,345 (of 8,761 total)
Lynn Pettis (1/5/2015)
No real difference between CAST and CONVERT unless you need to use a style code for the conversion. Also, if you listen to Mr. Celko, CAST is...
January 5, 2015 at 11:12 am
salardx (1/5/2015)
http://www.sqlservercentral.com/Forums/Topic613703-338-1.aspx
But the solution doesn't work for me! I got a type as table:
CREATE TYPE [dbo].[User_Ven_Att] AS TABLE(
[userName]...
January 5, 2015 at 9:31 am
knikolov4521 (1/4/2015)
Thank you! But I do not want to for example IT_PROG to be displayed 5 times.
Quick fix using row_number in a sub query, just adjust as needed
😎
USE tempdb;
GO
SET...
January 4, 2015 at 4:13 pm
Jeff Moden (1/4/2015)
Eirikur Eiriksson (1/4/2015)
Jeff Moden (1/4/2015)
Eirikur Eiriksson (1/4/2015)
January 4, 2015 at 2:36 pm
Jeff Moden (1/4/2015)
Eirikur Eiriksson (1/4/2015)
January 4, 2015 at 1:36 pm
knikolov4521 (1/4/2015)
I have two tables. I have three columns DEPARTMENT_NAME, LAST_NAME, JOB_ID.
DEPARTMENT_NAME is from table 1. JOB_ID and LAST_NAME are from table 2....
January 4, 2015 at 1:30 pm
KoldCoffee (1/4/2015)
1. Are there many remote locations or is there only one (for each SSIS package)?
2. Is the local directory emptied after processing the files?
Answers:
1: one remote location for the...
January 4, 2015 at 9:16 am
sqlvogel (1/3/2015)
shashianireddy (1/3/2015)
how to insert two tables in single quarie ...like above
It's possible to do two inserts in a single statement like this:
INSERT INTO dbo.table_b (empid, epsal)
SELECT empid, epsal
FROM
(
MERGE INTO...
January 4, 2015 at 6:13 am
KoldCoffee (1/3/2015)
http://winscp.net/eng/docs/guide_ssis
Next I want...
January 4, 2015 at 2:47 am
asita (1/3/2015)
Nolock is ignore the locks (please ignore it)
To me it appears as the nolock hint is used here as a blanket solution, without understanding the potential effects of it,...
January 4, 2015 at 2:29 am
A quick (self explanatory) solution which should be enough to get you passed this hurdle
😎
USE tempdb;
GO
SET NOCOUNT ON;
GO
/* Drop the sample table if it exists */
IF OBJECT_ID(N'tempdb..#MyPhoneList') IS NOT NULL...
January 4, 2015 at 2:11 am
Quick questions, could you provide some sample data? Why the NOLOCK hints? What is the definition of a unique entry in the set?
😎
January 3, 2015 at 2:11 pm
Quick thought, this can be done in some circumstances where the result sets are equal in structure, consider this example
😎
USE tempdb;
GO
SET NOCOUNT ON;
GO
CREATE PROCEDURE dbo.TWO_RESULT_USP
AS
SELECT
OBJECT_ID
...
January 3, 2015 at 1:40 pm
Jeff Moden (1/3/2015)
January 3, 2015 at 12:09 pm
Viewing 15 posts - 6,331 through 6,345 (of 8,761 total)