Viewing 15 posts - 9,646 through 9,660 (of 15,381 total)
Also select into will throw an exception if the the destination table already exists. You do not have as much control over the datatypes when using a select into either,...
January 11, 2013 at 12:57 pm
No problem. I would suggest changing to a left join instead. If you use an inner join and there is no supervisor you won't get the employee information either.
January 11, 2013 at 12:16 pm
Remember that doesn't mean you suddenly have any table in your system. You have to define TVP as a type. Then you can pass that table to a proc as...
January 11, 2013 at 8:30 am
Snargables (1/11/2013)
Doesnt sql server 2008 have a table type. i need to pass a table name into a proc.
I have a bad feeling that you want to pass in your...
January 11, 2013 at 7:46 am
soni321 (1/10/2013)
it giving error that i need ps1 for windows 7 i have home premium
I assume you mean SP1? Did you try to download and install it? A quick search...
January 10, 2013 at 2:54 pm
This is likely VERY close.
SELECT STM.staffcode_c as [Staff Code],
STM.firstname_vc as [First Name],
STM.lastname_vc as [Last Name],
PC.description_vc as [Program],
STM.department_vc as [Title]
STM.birthcountry_vc as [Spervisor],
supervisor.firstname_vc as [Supervisor First Name],
supervisor.lastname_vc as [Supervisor Last Name]
FROM ar.staffmaster...
January 10, 2013 at 1:26 pm
Hi and welcome to SSC!!! We need some details before we can offer much assistance here. We would like to see ddl (create table statements), sample data (insert statements) and...
January 10, 2013 at 1:22 pm
Alan.B (1/10/2013)
January 10, 2013 at 12:19 pm
Hi and welcome to SSC!!! This is a sql server forum and not a MySql so the help you get may be somewhat different. The basics are the same though...
January 10, 2013 at 10:26 am
gsd1 (1/10/2013)
Why the following code gives error? I have @temp table variable already declared, @p_SampleRecords variable already declared and assigned a value.
Declare @strSql varchar(max)
set @strSql = 'select top '...
January 10, 2013 at 7:55 am
Brett this is actually pretty simple. I included some sample data using your names and even included the condition of len = 6. for numbers though we don't want to...
January 9, 2013 at 12:36 pm
dbdmora (1/9/2013)
ITApplicationSecurity
ITApplicationState
ITApplicationService
ITApplicationLogging
The same application will write to...
January 9, 2013 at 10:11 am
dave harris 45446 (1/9/2013)
Can anyone advise please, I have a TSQL 2008r2 headache...
I'm calculating the geo distance between a previous geo point and current geo point.
The code below,...
January 9, 2013 at 9:10 am
vs.satheesh (1/8/2013)
I am working in University Project.I have 10000 students physical photos in one directory...
January 9, 2013 at 7:58 am
Marlena.ibek (1/9/2013)
I have got a task which I'm working with on the moment.
I'm looking for an answer here, as this is the best place to ask questions.
Ok, I've created...
January 9, 2013 at 7:39 am
Viewing 15 posts - 9,646 through 9,660 (of 15,381 total)